]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] fix acpi_video_flags on x86-64
authorStefan Seyfried <seife@suse.de>
Thu, 2 Mar 2006 10:54:34 +0000 (02:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Mar 2006 16:33:07 +0000 (08:33 -0800)
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>
kernel/sysctl.c

index acf6c1550f2747105500dd55bb2c39709d2e9687..de2d9109194ef75a6bb5257bf06de852c98f9366 100644 (file)
@@ -667,7 +667,7 @@ static ctl_table kern_table[] = {
                .data           = &acpi_video_flags,
                .maxlen         = sizeof (unsigned long),
                .mode           = 0644,
-               .proc_handler   = &proc_dointvec,
+               .proc_handler   = &proc_doulongvec_minmax,
        },
 #endif
 #ifdef CONFIG_IA64