aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/time/clocksource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 8d6125ad2cf0..cabfa193efb3 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -175,7 +175,7 @@ static void clocksource_check_watchdog(struct clocksource *cs)
175 if (watchdog) 175 if (watchdog)
176 del_timer(&watchdog_timer); 176 del_timer(&watchdog_timer);
177 watchdog = cs; 177 watchdog = cs;
178 init_timer(&watchdog_timer); 178 init_timer_deferrable(&watchdog_timer);
179 watchdog_timer.function = clocksource_watchdog; 179 watchdog_timer.function = clocksource_watchdog;
180 180
181 /* Reset watchdog cycles */ 181 /* Reset watchdog cycles */