diff options
author | Stefan Seyfried <seife@suse.de> | 2006-03-02 05:54:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-02 11:33:07 -0500 |
commit | 7f99f06f01aa9460b5a18f1b0e0900c90d0a84fc (patch) | |
tree | f78c227f7a154e6ed0b2d25982d34bf21c53c734 /kernel | |
parent | 46f6dac259717551916405ee3388de89fb152bca (diff) |
[PATCH] fix acpi_video_flags on x86-64
acpi_video_flags variable is unsigned long, so it should be set as such.
This actually matters on x86-64.
Signed-off-by: Stefan Seyfried <seife@suse.de>
Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index acf6c1550f27..de2d9109194e 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -667,7 +667,7 @@ static ctl_table kern_table[] = { | |||
667 | .data = &acpi_video_flags, | 667 | .data = &acpi_video_flags, |
668 | .maxlen = sizeof (unsigned long), | 668 | .maxlen = sizeof (unsigned long), |
669 | .mode = 0644, | 669 | .mode = 0644, |
670 | .proc_handler = &proc_dointvec, | 670 | .proc_handler = &proc_doulongvec_minmax, |
671 | }, | 671 | }, |
672 | #endif | 672 | #endif |
673 | #ifdef CONFIG_IA64 | 673 | #ifdef CONFIG_IA64 |