X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=kernel%2Fwatchdog.c;h=5cd6d4e269157973acecd00afc91646720fee2be;hb=5c4017a2526065a6c2e63ddf3c6ac8f37278161c;hp=d145305d95fe81dd20eb7cc1e4bb8ffbacf590b1;hpb=e3a6fa001dbbf36833159baffc584d1aaa4b11e3;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;