diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index d37d9dd8f463..34a604726d0b 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -969,9 +969,10 @@ static struct ctl_table kern_table[] = { | |||
969 | { | 969 | { |
970 | .procname = "hung_task_check_count", | 970 | .procname = "hung_task_check_count", |
971 | .data = &sysctl_hung_task_check_count, | 971 | .data = &sysctl_hung_task_check_count, |
972 | .maxlen = sizeof(unsigned long), | 972 | .maxlen = sizeof(int), |
973 | .mode = 0644, | 973 | .mode = 0644, |
974 | .proc_handler = proc_doulongvec_minmax, | 974 | .proc_handler = proc_dointvec_minmax, |
975 | .extra1 = &zero, | ||
975 | }, | 976 | }, |
976 | { | 977 | { |
977 | .procname = "hung_task_timeout_secs", | 978 | .procname = "hung_task_timeout_secs", |