X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=kernel%2Fwatchdog.c;h=5cd6d4e269157973acecd00afc91646720fee2be;hb=104ab0e82134b178b3d00a347958a63816860ece;hp=d145305d95fe81dd20eb7cc1e4bb8ffbacf590b1;hpb=c266ae774effb858266e64b0dfd7018e58278523;p=platform%2Fkernel%2Flinux-rpi.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;