|
@@ -44,14 +44,12 @@
|
|
|
#include <linux/limits.h>
|
|
|
#include <linux/dcache.h>
|
|
|
#include <linux/syscalls.h>
|
|
|
+#include <linux/nfs_fs.h>
|
|
|
+#include <linux/acpi.h>
|
|
|
|
|
|
#include <asm/uaccess.h>
|
|
|
#include <asm/processor.h>
|
|
|
|
|
|
-#ifdef CONFIG_ROOT_NFS
|
|
|
-#include <linux/nfs_fs.h>
|
|
|
-#endif
|
|
|
-
|
|
|
#if defined(CONFIG_SYSCTL)
|
|
|
|
|
|
/* External variables not in a header file. */
|
|
@@ -655,6 +653,16 @@ static ctl_table kern_table[] = {
|
|
|
.mode = 0644,
|
|
|
.proc_handler = &proc_dointvec,
|
|
|
},
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_ACPI_SLEEP
|
|
|
+ {
|
|
|
+ .ctl_name = KERN_ACPI_VIDEO_FLAGS,
|
|
|
+ .procname = "acpi_video_flags",
|
|
|
+ .data = &acpi_video_flags,
|
|
|
+ .maxlen = sizeof (unsigned long),
|
|
|
+ .mode = 0644,
|
|
|
+ .proc_handler = &proc_dointvec,
|
|
|
+ },
|
|
|
#endif
|
|
|
{ .ctl_name = 0 }
|
|
|
};
|