2 * Machine specific NMI handling for generic.
3 * Split out from traps.c by Osamu Tomita <tomita@cinet.co.jp>
8 #include <asm/mc146818rtc.h>
10 static inline void clear_mem_error(unsigned char reason)
12 reason = (reason & 0xf) | 4;
16 static inline unsigned char get_nmi_reason(void)
21 static inline void reassert_nmi(void)
25 if (do_i_have_lock_cmos())
26 old_reg = current_lock_cmos_reg();
28 lock_cmos(0); /* register doesn't matter here */
30 inb(0x71); /* dummy */
32 inb(0x71); /* dummy */
39 #endif /* !_MACH_TRAPS_H */