mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 17:56:45 +07:00
e7ba176b47
Change the NMI handler to use the die notifier chain to signal anyone who cares. Add a simple "nmi debugger" which hooks into this chain and that may dump registers, task state, etc. when it happens. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
20 lines
313 B
C
20 lines
313 B
C
#ifndef __ASM_AVR32_IRQ_H
|
|
#define __ASM_AVR32_IRQ_H
|
|
|
|
#define NR_INTERNAL_IRQS 64
|
|
|
|
#include <asm/arch/irq.h>
|
|
|
|
#ifndef NR_IRQS
|
|
#define NR_IRQS (NR_INTERNAL_IRQS)
|
|
#endif
|
|
|
|
#define irq_canonicalize(i) (i)
|
|
|
|
#ifndef __ASSEMBLER__
|
|
int nmi_enable(void);
|
|
void nmi_disable(void);
|
|
#endif
|
|
|
|
#endif /* __ASM_AVR32_IOCTLS_H */
|