mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
sparc64: Make touch_nmi_watchdog() actually work.
It guards it's actions on nmi_watchdog_active, but nothing ever sets that and it's initial value is zero. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4e85f5915d
commit
d89be56b21
1 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,6 @@
|
|||
* level 14 as our IRQ off level.
|
||||
*/
|
||||
|
||||
static int nmi_watchdog_active;
|
||||
static int panic_on_timeout;
|
||||
|
||||
/* nmi_active:
|
||||
|
@ -52,7 +51,7 @@ static DEFINE_PER_CPU(int, nmi_touch);
|
|||
|
||||
void touch_nmi_watchdog(void)
|
||||
{
|
||||
if (nmi_watchdog_active) {
|
||||
if (atomic_read(&nmi_active)) {
|
||||
int cpu;
|
||||
|
||||
for_each_present_cpu(cpu) {
|
||||
|
|
Loading…
Reference in a new issue