Skip to content

Commit

Permalink
Blackfin arch: remove unused code -- EVT0 is not controllable by soft…
Browse files Browse the repository at this point in the history
…ware

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Aug 3, 2007
1 parent a924db7 commit a298049
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 31 deletions.
24 changes: 0 additions & 24 deletions arch/blackfin/mach-common/interrupt.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,6 @@

.align 4 /* just in case */

/*
* initial interrupt handlers
*/

#ifndef CONFIG_KGDB
/* interrupt routine for emulation - 0 */
/* Currently used only if GDB stub is not in - invalid */
/* gdb-stub set the evt itself */
/* save registers for post-mortem only */
ENTRY(_evt_emulation)
SAVE_ALL_SYS
#ifdef CONFIG_FRAME_POINTER
fp = 0;
#endif
r0 = IRQ_EMU;
r1 = sp;
SP += -12;
call _irq_panic;
SP += 12;
/* - GDB stub fills this in by itself (if defined) */
rte;
ENDPROC(_evt_emulation)
#endif

/* Common interrupt entry code. First we do CLI, then push
* RETI, to keep interrupts disabled, but to allow this state to be changed
* by local_bh_enable.
Expand Down
3 changes: 0 additions & 3 deletions arch/blackfin/mach-common/ints-priority-dc.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,6 @@ void __init init_exception_vectors(void)
{
SSYNC();

#ifndef CONFIG_KGDB
bfin_write_EVT0(evt_emulation);
#endif
bfin_write_EVT2(evt_evt2);
bfin_write_EVT3(trap);
bfin_write_EVT5(evt_ivhw);
Expand Down
3 changes: 0 additions & 3 deletions arch/blackfin/mach-common/ints-priority-sc.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,6 @@ void __init init_exception_vectors(void)
{
SSYNC();

#ifndef CONFIG_KGDB
bfin_write_EVT0(evt_emulation);
#endif
bfin_write_EVT2(evt_evt2);
bfin_write_EVT3(trap);
bfin_write_EVT5(evt_ivhw);
Expand Down
1 change: 0 additions & 1 deletion include/asm-blackfin/irq_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define _IRQ_HANDLER_H

/* BASE LEVEL interrupt handler routines */
asmlinkage void evt_emulation(void);
asmlinkage void evt_exception(void);
asmlinkage void trap(void);
asmlinkage void evt_ivhw(void);
Expand Down

0 comments on commit a298049

Please sign in to comment.