From: Pavel Machek <pavel@suse.cz>
To: Andrew Morton <akpm@osdl.org>,
kernel list <linux-kernel@vger.kernel.org>,
seife@suse.de
Subject: [patch, 2.6.16] fix acpi_video_flags on x86-64
Date: Wed, 1 Mar 2006 12:21:30 +0100 [thread overview]
Message-ID: <20060301112130.GA1950@elf.ucw.cz> (raw)
From: Stefan Seyfried <seife@suse.de>
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>
---
commit 3f517362fe48428b9a9cb4e251238c1abd2d61c2
tree aba0516e64c74ffae6e0b7d6c0d8c95e56c15f46
parent 45979cb3442ad3f79556a0f06b0a4b76a9350860
author <pavel@amd.ucw.cz> Wed, 01 Mar 2006 12:20:15 +0100
committer <pavel@amd.ucw.cz> Wed, 01 Mar 2006 12:20:15 +0100
kernel/sysctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index c05a2b7..92ed3a3 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -663,7 +663,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
{ .ctl_name = 0 }
--
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...
reply other threads:[~2006-03-01 11:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060301112130.GA1950@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=seife@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®