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

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller 2019-10-04 13:10:09 +02:00
parent cd24ee2a9a
commit b67114db64
1 changed files with 2 additions and 2 deletions

View File

@ -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
@ -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,