summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/nmi.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-09-09 08:16:06 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-09 08:16:06 +0200
commita8f22264550e64c0cd11fb6647284b0bd6407f9c (patch)
treee42ef7f04063bef6114c6488c70eff7089b5ea26 /arch/sparc/include/asm/nmi.h
parentsparc: add basic support for 'perf' (diff)
downloadlinux-a8f22264550e64c0cd11fb6647284b0bd6407f9c.tar.xz
linux-a8f22264550e64c0cd11fb6647284b0bd6407f9c.zip
sparc64: Manage NMI watchdog enabling like x86.
Use a per-cpu 'wd_enabled' boolean and a global atomic_t count of watchdog NMI enabled cpus which is set to '-1' if something is wrong with the watchdog and it can't be used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/nmi.h')
-rw-r--r--arch/sparc/include/asm/nmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/nmi.h b/arch/sparc/include/asm/nmi.h
index fbd546dd4feb..c7d11e435df9 100644
--- a/arch/sparc/include/asm/nmi.h
+++ b/arch/sparc/include/asm/nmi.h
@@ -5,6 +5,6 @@ extern int __init nmi_init(void);
extern void perfctr_irq(int irq, struct pt_regs *regs);
extern void nmi_adjust_hz(unsigned int new_hz);
-extern int nmi_usable;
+extern atomic_t nmi_active;
#endif /* __NMI_H */