drm/i915: Use cached cdclk_freq for PWM calculations
[deliverable/linux.git] / kernel / watchdog.c
index 84c4744d19775c476addcfb87b9ee50b34f08951..18f34cf75f741e2a63db6dc6c522dfa2e03d1a54 100644 (file)
@@ -289,7 +289,7 @@ static int is_softlockup(unsigned long touch_ts)
 {
        unsigned long now = get_timestamp();
 
-       if (watchdog_enabled & SOFT_WATCHDOG_ENABLED) {
+       if ((watchdog_enabled & SOFT_WATCHDOG_ENABLED) && watchdog_thresh){
                /* Warn about unreasonable delays. */
                if (time_after(now, touch_ts + get_softlockup_thresh()))
                        return now - touch_ts;
This page took 0.030588 seconds and 5 git commands to generate.