.. | .. |
---|
114 | 114 | /* Ensure the watchdog never gets throttled */ |
---|
115 | 115 | event->hw.interrupts = 0; |
---|
116 | 116 | |
---|
| 117 | + if (!watchdog_check_timestamp()) |
---|
| 118 | + return; |
---|
| 119 | + |
---|
117 | 120 | if (__this_cpu_read(watchdog_nmi_touch) == true) { |
---|
118 | 121 | __this_cpu_write(watchdog_nmi_touch, false); |
---|
119 | 122 | return; |
---|
120 | 123 | } |
---|
121 | | - |
---|
122 | | - if (!watchdog_check_timestamp()) |
---|
123 | | - return; |
---|
124 | 124 | |
---|
125 | 125 | /* check for a hardlockup |
---|
126 | 126 | * This is done by making sure our timer interrupt |
---|
.. | .. |
---|
135 | 135 | if (__this_cpu_read(hard_watchdog_warn) == true) |
---|
136 | 136 | return; |
---|
137 | 137 | |
---|
138 | | - pr_emerg("Watchdog detected hard LOCKUP on cpu %d", this_cpu); |
---|
| 138 | + pr_emerg("Watchdog detected hard LOCKUP on cpu %d\n", |
---|
| 139 | + this_cpu); |
---|
139 | 140 | print_modules(); |
---|
140 | 141 | print_irqtrace_events(current); |
---|
141 | 142 | if (regs) |
---|