mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Haavard Skinnemoen](/assets/img/avatar_default.png)
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>
19 lines
313 B
C
19 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 */
|