diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-08-03 06:29:15 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-08-03 06:29:15 -0400 |
commit | a298049180d2c56fc8ac1796b24973bf4f019cc7 (patch) | |
tree | 14e6e65ce756768da3a7c9649297807cd919c5e4 /arch | |
parent | a924db7c00655447c5228bd74da070c69b7cadbc (diff) |
Blackfin arch: remove unused code -- EVT0 is not controllable by software
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/mach-common/interrupt.S | 24 | ||||
-rw-r--r-- | arch/blackfin/mach-common/ints-priority-dc.c | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-common/ints-priority-sc.c | 3 |
3 files changed, 0 insertions, 30 deletions
diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S index 14ef800a564d..1d5ba5e3d91c 100644 --- a/arch/blackfin/mach-common/interrupt.S +++ b/arch/blackfin/mach-common/interrupt.S | |||
@@ -46,30 +46,6 @@ | |||
46 | 46 | ||
47 | .align 4 /* just in case */ | 47 | .align 4 /* just in case */ |
48 | 48 | ||
49 | /* | ||
50 | * initial interrupt handlers | ||
51 | */ | ||
52 | |||
53 | #ifndef CONFIG_KGDB | ||
54 | /* interrupt routine for emulation - 0 */ | ||
55 | /* Currently used only if GDB stub is not in - invalid */ | ||
56 | /* gdb-stub set the evt itself */ | ||
57 | /* save registers for post-mortem only */ | ||
58 | ENTRY(_evt_emulation) | ||
59 | SAVE_ALL_SYS | ||
60 | #ifdef CONFIG_FRAME_POINTER | ||
61 | fp = 0; | ||
62 | #endif | ||
63 | r0 = IRQ_EMU; | ||
64 | r1 = sp; | ||
65 | SP += -12; | ||
66 | call _irq_panic; | ||
67 | SP += 12; | ||
68 | /* - GDB stub fills this in by itself (if defined) */ | ||
69 | rte; | ||
70 | ENDPROC(_evt_emulation) | ||
71 | #endif | ||
72 | |||
73 | /* Common interrupt entry code. First we do CLI, then push | 49 | /* Common interrupt entry code. First we do CLI, then push |
74 | * RETI, to keep interrupts disabled, but to allow this state to be changed | 50 | * RETI, to keep interrupts disabled, but to allow this state to be changed |
75 | * by local_bh_enable. | 51 | * by local_bh_enable. |
diff --git a/arch/blackfin/mach-common/ints-priority-dc.c b/arch/blackfin/mach-common/ints-priority-dc.c index d5d9e57813dd..684d306ab6bb 100644 --- a/arch/blackfin/mach-common/ints-priority-dc.c +++ b/arch/blackfin/mach-common/ints-priority-dc.c | |||
@@ -362,9 +362,6 @@ void __init init_exception_vectors(void) | |||
362 | { | 362 | { |
363 | SSYNC(); | 363 | SSYNC(); |
364 | 364 | ||
365 | #ifndef CONFIG_KGDB | ||
366 | bfin_write_EVT0(evt_emulation); | ||
367 | #endif | ||
368 | bfin_write_EVT2(evt_evt2); | 365 | bfin_write_EVT2(evt_evt2); |
369 | bfin_write_EVT3(trap); | 366 | bfin_write_EVT3(trap); |
370 | bfin_write_EVT5(evt_ivhw); | 367 | bfin_write_EVT5(evt_ivhw); |
diff --git a/arch/blackfin/mach-common/ints-priority-sc.c b/arch/blackfin/mach-common/ints-priority-sc.c index 505b9484497a..a2016af65eb0 100644 --- a/arch/blackfin/mach-common/ints-priority-sc.c +++ b/arch/blackfin/mach-common/ints-priority-sc.c | |||
@@ -721,9 +721,6 @@ void __init init_exception_vectors(void) | |||
721 | { | 721 | { |
722 | SSYNC(); | 722 | SSYNC(); |
723 | 723 | ||
724 | #ifndef CONFIG_KGDB | ||
725 | bfin_write_EVT0(evt_emulation); | ||
726 | #endif | ||
727 | bfin_write_EVT2(evt_evt2); | 724 | bfin_write_EVT2(evt_evt2); |
728 | bfin_write_EVT3(trap); | 725 | bfin_write_EVT3(trap); |
729 | bfin_write_EVT5(evt_ivhw); | 726 | bfin_write_EVT5(evt_ivhw); |