History

parisc: sysctl.c: Use CONFIG_PARISC instead of __hppa_ define

Helge Deller committed 7 years ago

Commit b67114d1 parent cd24ee21 file · +2 −2Browse files

Unified · Split

kernel/sysctl.c+2−2
@@ -163,7 +163,7 @@ static unsigned long hung_task_timeout_max = (LONG_MAX/HZ); · 162 unmodified lines
163#ifdef CONFIG_SPARC163#ifdef CONFIG_SPARC
164#endif164#endif
165 165
166#ifdef __hppa__166#ifdef CONFIG_PARISC
167extern int pwrsw_enabled;167extern int pwrsw_enabled;
168#endif168#endif
169 169
@@ -620,7 +620,7 @@ static struct ctl_table kern_table[] = { · 450 unmodified lines
620 .proc_handler = proc_dointvec,620 .proc_handler = proc_dointvec,
621 },621 },
622#endif622#endif
623#ifdef __hppa__623#ifdef CONFIG_PARISC
624 {624 {
625 .procname = "soft-power",625 .procname = "soft-power",
626 .data = &pwrsw_enabled,626 .data = &pwrsw_enabled,