]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: remove unused code -- EVT0 is not controllable by software
authorMike Frysinger <michael.frysinger@analog.com>
Fri, 3 Aug 2007 10:29:15 +0000 (18:29 +0800)
committerBryan Wu <bryan.wu@analog.com>
Fri, 3 Aug 2007 10:29:15 +0000 (18:29 +0800)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-common/interrupt.S
arch/blackfin/mach-common/ints-priority-dc.c
arch/blackfin/mach-common/ints-priority-sc.c
include/asm-blackfin/irq_handler.h

index 14ef800a564d811a58335b782b0c0e3baa3251c0..1d5ba5e3d91c5b9dc5481f5f81d95d63fcaf28ea 100644 (file)
 
 .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.
index d5d9e57813dd498207899d01216aeff891df9ba4..684d306ab6bb0089a7a94f856b1c0550a74d952e 100644 (file)
@@ -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);
index 505b9484497aaf06e5d39097b745d07f213ad136..a2016af65eb0fe56c3420acdda5c0e554b7fef79 100644 (file)
@@ -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);
index d830f0a49a1cb289ff3e1660f68151fe46a95c6f..6a768315bbf7959b6c960942756e61ae26790adc 100644 (file)
@@ -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);