Commit 4243eb72 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Remove duplicated HPPA bits in kernel/sysctl.c

From: "Art Haas" <ahaas@airmail.net>

The following patch removes the duplicated sysctl entries for 'soft-power'
and 'unaligned-trap' for HPPA users.  Immediately before these lines these
two entries exist in a C99-style format.
parent 783154c7
...@@ -338,12 +338,6 @@ static ctl_table kern_table[] = { ...@@ -338,12 +338,6 @@ static ctl_table kern_table[] = {
.proc_handler = &proc_dointvec, .proc_handler = &proc_dointvec,
}, },
#endif #endif
#ifdef __hppa__
{KERN_HPPA_PWRSW, "soft-power", &pwrsw_enabled, sizeof (int),
0644, NULL, &proc_dointvec},
{KERN_HPPA_UNALIGNED, "unaligned-trap", &unaligned_enabled, sizeof (int),
0644, NULL, &proc_dointvec},
#endif
#if defined(CONFIG_PPC32) && defined(CONFIG_6xx) #if defined(CONFIG_PPC32) && defined(CONFIG_6xx)
{ {
.ctl_name = KERN_PPC_POWERSAVE_NAP, .ctl_name = KERN_PPC_POWERSAVE_NAP,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment