workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE
[deliverable/linux.git] / kernel / watchdog.c
index 70bf11815f844554e267e648ffa7196ee849caab..3174bf8e353852ae886743b8ffbe33e46fb03c02 100644 (file)
@@ -154,7 +154,7 @@ static int get_softlockup_thresh(void)
  */
 static unsigned long get_timestamp(void)
 {
-       return local_clock() >> 30LL;  /* 2^30 ~= 10^9 */
+       return running_clock() >> 30LL;  /* 2^30 ~= 10^9 */
 }
 
 static void set_sample_period(void)
This page took 0.055113 seconds and 5 git commands to generate.