forked from luck/tmp_suning_uos_patched
a8f2226455
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>
11 lines
222 B
C
11 lines
222 B
C
#ifndef __NMI_H
|
|
#define __NMI_H
|
|
|
|
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 atomic_t nmi_active;
|
|
|
|
#endif /* __NMI_H */
|