[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <44C3F2CB.5090204@stud.feec.vutbr.cz>
Date: Mon, 24 Jul 2006 00:06:03 +0200
From: Michal Schmidt <xschmi00@...d.feec.vutbr.cz>
To: linux-kernel@...r.kernel.org
CC: Andi Kleen <ak@...e.de>, Ingo Molnar <mingo@...e.hu>
Subject: [PATCH] Make touch_nmi_watchdog imply touch_softlockup_watchdog on
all archs
touch_nmi_watchdog() calls touch_softlockup_watchdog() on both
architectures that implement it (i386 and x86_64). On other architectures
it does nothing at all. touch_nmi_watchdog() should imply
touch_softlockup_watchdog() on all architectures.
Suggested by Andi Kleen.
Signed-off-by: Michal Schmidt <xschmi00@...d.feec.vutbr.cz>
diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index c8f4d2f..e16904e 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -4,6 +4,7 @@
#ifndef LINUX_NMI_H
#define LINUX_NMI_H
+#include <linux/sched.h>
#include <asm/irq.h>
/**
@@ -16,7 +17,7 @@ #include <asm/irq.h>
#ifdef ARCH_HAS_NMI_WATCHDOG
extern void touch_nmi_watchdog(void);
#else
-# define touch_nmi_watchdog() do { } while(0)
+# define touch_nmi_watchdog() touch_softlockup_watchdog()
#endif
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists