]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
softlockup: fix invalid proc_handler for softlockup_panic
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Tue, 8 Jul 2008 01:37:04 +0000 (18:37 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 16:29:28 +0000 (18:29 +0200)
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>
kernel/sysctl.c

index 3e56d2f914143a46862ced7a118cd5db243c9465..ab59ac008caf8c11a510e2ebe03d7a9e7ea81ec6 100644 (file)
@@ -741,7 +741,7 @@ static struct ctl_table kern_table[] = {
                .data           = &softlockup_panic,
                .maxlen         = sizeof(int),
                .mode           = 0644,
-               .proc_handler   = &proc_doulongvec_minmax,
+               .proc_handler   = &proc_dointvec_minmax,
                .strategy       = &sysctl_intvec,
                .extra1         = &zero,
                .extra2         = &one,