diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-08-05 05:03:59 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-08-05 05:03:59 -0400 |
commit | f0b5d12f2b3226c85258519d7725e63d9daf5e90 (patch) | |
tree | d64fdcf65cb5f647b544ece5f1727af5153c0a3d /include | |
parent | 0174dd59bb5f343e8981b5ea7a3dc782fad5b644 (diff) |
Blackfin arch: allow people to select the feature that is unavailable to the kernel
- allow people to select the feature that is unavailable to the kernel: NMI, JTAG, or CYCLES.
- change default NMI handler to simply dump hardware trace buffer.
- remove default NMI handler completely as calling into kernel code is not safe
move example handler to wiki so people dont haphazardly copy and paste this stuff thinking its safe
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-blackfin/irq_handler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-blackfin/irq_handler.h b/include/asm-blackfin/irq_handler.h index 6a768315bbf7..f13cd73b0966 100644 --- a/include/asm-blackfin/irq_handler.h +++ b/include/asm-blackfin/irq_handler.h | |||
@@ -1,12 +1,15 @@ | |||
1 | #ifndef _IRQ_HANDLER_H | 1 | #ifndef _IRQ_HANDLER_H |
2 | #define _IRQ_HANDLER_H | 2 | #define _IRQ_HANDLER_H |
3 | 3 | ||
4 | #include <linux/types.h> | ||
5 | #include <linux/linkage.h> | ||
6 | |||
4 | /* BASE LEVEL interrupt handler routines */ | 7 | /* BASE LEVEL interrupt handler routines */ |
5 | asmlinkage void evt_exception(void); | 8 | asmlinkage void evt_exception(void); |
6 | asmlinkage void trap(void); | 9 | asmlinkage void trap(void); |
7 | asmlinkage void evt_ivhw(void); | 10 | asmlinkage void evt_ivhw(void); |
8 | asmlinkage void evt_timer(void); | 11 | asmlinkage void evt_timer(void); |
9 | asmlinkage void evt_evt2(void); | 12 | asmlinkage void evt_nmi(void); |
10 | asmlinkage void evt_evt7(void); | 13 | asmlinkage void evt_evt7(void); |
11 | asmlinkage void evt_evt8(void); | 14 | asmlinkage void evt_evt8(void); |
12 | asmlinkage void evt_evt9(void); | 15 | asmlinkage void evt_evt9(void); |