提交 7f99f06f 编写于 作者: S Stefan Seyfried 提交者: Linus Torvalds

[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: NStefan Seyfried <seife@suse.de>
Signed-off-by: NPavel Machek <pavel@suse.cz>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 46f6dac2
...@@ -667,7 +667,7 @@ static ctl_table kern_table[] = { ...@@ -667,7 +667,7 @@ static ctl_table kern_table[] = {
.data = &acpi_video_flags, .data = &acpi_video_flags,
.maxlen = sizeof (unsigned long), .maxlen = sizeof (unsigned long),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = &proc_doulongvec_minmax,
}, },
#endif #endif
#ifdef CONFIG_IA64 #ifdef CONFIG_IA64
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册