|
@@ -138,7 +138,11 @@ static void __touch_watchdog(void)
|
|
|
|
|
|
void touch_softlockup_watchdog(void)
|
|
void touch_softlockup_watchdog(void)
|
|
{
|
|
{
|
|
- __this_cpu_write(watchdog_touch_ts, 0);
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Preemption can be enabled. It doesn't matter which CPU's timestamp
|
|
|
|
+ * gets zeroed here, so use the raw_ operation.
|
|
|
|
+ */
|
|
|
|
+ raw_cpu_write(watchdog_touch_ts, 0);
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(touch_softlockup_watchdog);
|
|
EXPORT_SYMBOL(touch_softlockup_watchdog);
|
|
|
|
|