X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=kernel%2Fsoftlockup.c;h=85d5a2455103397015973321359a45e7d6d1928d;hb=f99fb8a2cbf0fd9ce9b2d5d298943d0d4dc479f7;hp=d9188c66278ad5ad5dcaa2b95177bcdec3130655;hpb=15b0669072127f282896b3bef2e9df4ec5d7264f;p=~andy%2Flinux diff --git a/kernel/softlockup.c b/kernel/softlockup.c index d9188c66278..85d5a245510 100644 --- a/kernel/softlockup.c +++ b/kernel/softlockup.c @@ -16,6 +16,7 @@ #include #include #include +#include #include @@ -88,6 +89,14 @@ void touch_all_softlockup_watchdogs(void) } EXPORT_SYMBOL(touch_all_softlockup_watchdogs); +int proc_dosoftlockup_thresh(struct ctl_table *table, int write, + struct file *filp, void __user *buffer, + size_t *lenp, loff_t *ppos) +{ + touch_all_softlockup_watchdogs(); + return proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos); +} + /* * This callback runs from the timer interrupt, and checks * whether the watchdog thread has hung or not: