|
@@ -772,9 +772,9 @@ static struct ctl_table kern_table[] = {
|
|
|
.ctl_name = CTL_UNNUMBERED,
|
|
|
.procname = "softlockup_thresh",
|
|
|
.data = &softlockup_thresh,
|
|
|
- .maxlen = sizeof(int),
|
|
|
+ .maxlen = sizeof(unsigned long),
|
|
|
.mode = 0644,
|
|
|
- .proc_handler = &proc_dointvec_minmax,
|
|
|
+ .proc_handler = &proc_doulongvec_minmax,
|
|
|
.strategy = &sysctl_intvec,
|
|
|
.extra1 = &one,
|
|
|
.extra2 = &sixty,
|
|
@@ -783,27 +783,27 @@ static struct ctl_table kern_table[] = {
|
|
|
.ctl_name = CTL_UNNUMBERED,
|
|
|
.procname = "hung_task_check_count",
|
|
|
.data = &sysctl_hung_task_check_count,
|
|
|
- .maxlen = sizeof(int),
|
|
|
+ .maxlen = sizeof(unsigned long),
|
|
|
.mode = 0644,
|
|
|
- .proc_handler = &proc_dointvec_minmax,
|
|
|
+ .proc_handler = &proc_doulongvec_minmax,
|
|
|
.strategy = &sysctl_intvec,
|
|
|
},
|
|
|
{
|
|
|
.ctl_name = CTL_UNNUMBERED,
|
|
|
.procname = "hung_task_timeout_secs",
|
|
|
.data = &sysctl_hung_task_timeout_secs,
|
|
|
- .maxlen = sizeof(int),
|
|
|
+ .maxlen = sizeof(unsigned long),
|
|
|
.mode = 0644,
|
|
|
- .proc_handler = &proc_dointvec_minmax,
|
|
|
+ .proc_handler = &proc_doulongvec_minmax,
|
|
|
.strategy = &sysctl_intvec,
|
|
|
},
|
|
|
{
|
|
|
.ctl_name = CTL_UNNUMBERED,
|
|
|
.procname = "hung_task_warnings",
|
|
|
.data = &sysctl_hung_task_warnings,
|
|
|
- .maxlen = sizeof(int),
|
|
|
+ .maxlen = sizeof(unsigned long),
|
|
|
.mode = 0644,
|
|
|
- .proc_handler = &proc_dointvec_minmax,
|
|
|
+ .proc_handler = &proc_doulongvec_minmax,
|
|
|
.strategy = &sysctl_intvec,
|
|
|
},
|
|
|
#endif
|