]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/watchdog.c
tg3: Futureproof the loopback test
[net-next-2.6.git] / kernel / watchdog.c
index 613bc1f046108ec52b8f7372fe2e7e66aa8fe4c7..0d53c8e853b12450cf0c74665d13a22e91a47543 100644 (file)
@@ -206,6 +206,9 @@ void watchdog_overflow_callback(struct perf_event *event, int nmi,
                 struct perf_sample_data *data,
                 struct pt_regs *regs)
 {
+       /* Ensure the watchdog never gets throttled */
+       event->hw.interrupts = 0;
+
        if (__get_cpu_var(watchdog_nmi_touch) == true) {
                __get_cpu_var(watchdog_nmi_touch) = false;
                return;