Loading kernel/watchdog.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -368,6 +368,9 @@ static void watchdog_disable(unsigned int cpu) { { struct hrtimer *hrtimer = &__raw_get_cpu_var(watchdog_hrtimer); struct hrtimer *hrtimer = &__raw_get_cpu_var(watchdog_hrtimer); if (!watchdog_enabled) return; watchdog_set_prio(SCHED_NORMAL, 0); watchdog_set_prio(SCHED_NORMAL, 0); hrtimer_cancel(hrtimer); hrtimer_cancel(hrtimer); /* disable the perf event */ /* disable the perf event */ Loading Loading
kernel/watchdog.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -368,6 +368,9 @@ static void watchdog_disable(unsigned int cpu) { { struct hrtimer *hrtimer = &__raw_get_cpu_var(watchdog_hrtimer); struct hrtimer *hrtimer = &__raw_get_cpu_var(watchdog_hrtimer); if (!watchdog_enabled) return; watchdog_set_prio(SCHED_NORMAL, 0); watchdog_set_prio(SCHED_NORMAL, 0); hrtimer_cancel(hrtimer); hrtimer_cancel(hrtimer); /* disable the perf event */ /* disable the perf event */ Loading