summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorLen Brown2007-07-25 04:26:33 +0200
committerLen Brown2007-07-25 07:29:39 +0200
commite8b2fd01228f690c3e0cb3f14facfa8d93d4adae (patch)
treefb69560e2a584a8ca82985a99e42ec189d592091 /kernel/sysctl.c
parentACPI: Kconfig: always enable CONFIG_ACPI_SLEEP on X86 (diff)
downloadkernel-qcow2-linux-e8b2fd01228f690c3e0cb3f14facfa8d93d4adae.tar.gz
kernel-qcow2-linux-e8b2fd01228f690c3e0cb3f14facfa8d93d4adae.tar.xz
kernel-qcow2-linux-e8b2fd01228f690c3e0cb3f14facfa8d93d4adae.zip
ACPI: Kconfig: remove CONFIG_ACPI_SLEEP from source
As it was a synonym for (CONFIG_ACPI && CONFIG_X86), the ifdefs for it were more clutter than they were worth. For ia64, just add a few stubs in anticipation of future S3 or S4 support. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index ddebf3f2affe..eb26f2ba51ed 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -689,7 +689,7 @@ static ctl_table kern_table[] = {
.proc_handler = &proc_dointvec,
},
#endif
-#ifdef CONFIG_ACPI_SLEEP
+#if defined(CONFIG_ACPI) && defined(CONFIG_X86)
{
.ctl_name = KERN_ACPI_VIDEO_FLAGS,
.procname = "acpi_video_flags",