X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=kernel%2Fwatchdog.c;h=5cd6d4e269157973acecd00afc91646720fee2be;hb=0486a1f9d9cc166599ba3273d99c324ba8beb346;hp=d145305d95fe81dd20eb7cc1e4bb8ffbacf590b1;hpb=3c31041e37324e143bee98604bb31481e905b4b3;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/kernel/watchdog.c b/kernel/watchdog.c index d145305..5cd6d4e 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -283,6 +283,13 @@ static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer); static DEFINE_PER_CPU(bool, softlockup_touch_sync); static unsigned long soft_lockup_nmi_warn; +static int __init softlockup_panic_setup(char *str) +{ + softlockup_panic = simple_strtoul(str, NULL, 0); + return 1; +} +__setup("softlockup_panic=", softlockup_panic_setup); + static int __init nowatchdog_setup(char *str) { watchdog_user_enabled = 0;