Skip to content

Commit b67114d

Browse files
committed
parisc: sysctl.c: Use CONFIG_PARISC instead of __hppa_ define
Signed-off-by: Helge Deller <deller@gmx.de>
1 parent cd24ee2 commit b67114d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎kernel/sysctl.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static unsigned long hung_task_timeout_max = (LONG_MAX/HZ);
163163
#ifdef CONFIG_SPARC
164164
#endif
165165

166-
#ifdef __hppa__
166+
#ifdef CONFIG_PARISC
167167
extern int pwrsw_enabled;
168168
#endif
169169

@@ -620,7 +620,7 @@ static struct ctl_table kern_table[] = {
620620
.proc_handler = proc_dointvec,
621621
},
622622
#endif
623-
#ifdef __hppa__
623+
#ifdef CONFIG_PARISC
624624
{
625625
.procname = "soft-power",
626626
.data = &pwrsw_enabled,

0 commit comments

Comments
 (0)