mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
parisc: sysctl.c: Use CONFIG_PARISC instead of __hppa_ define
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
cd24ee2a9a
commit
b67114db64
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user