Skip to content

Commit

Permalink
parisc: sysctl.c: Use CONFIG_PARISC instead of __hppa_ define
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <[email protected]>
  • Loading branch information
hdeller committed Oct 14, 2019
1 parent cd24ee2 commit b67114d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static unsigned long hung_task_timeout_max = (LONG_MAX/HZ);
#ifdef CONFIG_SPARC
#endif

#ifdef __hppa__
#ifdef CONFIG_PARISC
extern int pwrsw_enabled;
#endif

Expand Down Expand Up @@ -620,7 +620,7 @@ static struct ctl_table kern_table[] = {
.proc_handler = proc_dointvec,
},
#endif
#ifdef __hppa__
#ifdef CONFIG_PARISC
{
.procname = "soft-power",
.data = &pwrsw_enabled,
Expand Down

0 comments on commit b67114d

Please sign in to comment.