Skip to content

Commit

Permalink
[PATCH] fix acpi_video_flags on x86-64
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Cc: "Brown, Len" <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Stefan Seyfried authored and Linus Torvalds committed Mar 2, 2006
1 parent 46f6dac commit 7f99f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f99f06

Please sign in to comment.