From: Stefan Seyfried Date: Thu, 2 Mar 2006 10:54:34 +0000 (-0800) Subject: [PATCH] fix acpi_video_flags on x86-64 X-Git-Tag: v2.6.16.28-rc1~425 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7f99f06f01aa9460b5a18f1b0e0900c90d0a84fc;p=karo-tx-linux.git [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 Signed-off-by: Pavel Machek Cc: "Brown, Len" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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[] = { .data = &acpi_video_flags, .maxlen = sizeof (unsigned long), .mode = 0644, - .proc_handler = &proc_dointvec, + .proc_handler = &proc_doulongvec_minmax, }, #endif #ifdef CONFIG_IA64