aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-07-07 21:37:04 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-18 12:29:28 -0400
commit4dca10a96041f78bed11ce9e4a5cfde813ec4ccb (patch)
tree114f22ddf2a8dd1ac96ddd56204d86d92db53242 /kernel/sysctl.c
parent1e09481365ce248dbb4eb06dad70129bb5807037 (diff)
softlockup: fix invalid proc_handler for softlockup_panic
The type of softlockup_panic is int, but the proc_handler is proc_doulongvec_minmax(). This handler is for unsigned long. This handler should be proc_dointvec_minmax(). Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 3e56d2f91414..ab59ac008caf 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -741,7 +741,7 @@ static struct ctl_table kern_table[] = {
741 .data = &softlockup_panic, 741 .data = &softlockup_panic,
742 .maxlen = sizeof(int), 742 .maxlen = sizeof(int),
743 .mode = 0644, 743 .mode = 0644,
744 .proc_handler = &proc_doulongvec_minmax, 744 .proc_handler = &proc_dointvec_minmax,
745 .strategy = &sysctl_intvec, 745 .strategy = &sysctl_intvec,
746 .extra1 = &zero, 746 .extra1 = &zero,
747 .extra2 = &one, 747 .extra2 = &one,