sh: Delete unnecessary mov in the interrupt exception entry point.
The INTEVT read at interrupt exception entry is uneccessary, as the read is deferred until we are ready to enter do_IRQ(). The kgdb nmi path still requires it, so move it there. Signed-off-by: Aoi Shinkai <shinkoi2005@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
06be372454
commit
bd40e81323
@ -376,9 +376,9 @@ tlb_miss:
|
|||||||
!
|
!
|
||||||
.balign 512,0,512
|
.balign 512,0,512
|
||||||
interrupt:
|
interrupt:
|
||||||
mov.l 2f, k2
|
|
||||||
mov.l 3f, k3
|
mov.l 3f, k3
|
||||||
#if defined(CONFIG_KGDB_NMI)
|
#if defined(CONFIG_KGDB_NMI)
|
||||||
|
mov.l 2f, k2
|
||||||
! Debounce (filter nested NMI)
|
! Debounce (filter nested NMI)
|
||||||
mov.l @k2, k0
|
mov.l @k2, k0
|
||||||
mov.l 5f, k1
|
mov.l 5f, k1
|
||||||
@ -390,6 +390,7 @@ interrupt:
|
|||||||
rte
|
rte
|
||||||
nop
|
nop
|
||||||
.align 2
|
.align 2
|
||||||
|
2: .long INTEVT
|
||||||
5: .long NMI_VEC
|
5: .long NMI_VEC
|
||||||
6: .long in_nmi
|
6: .long in_nmi
|
||||||
0:
|
0:
|
||||||
@ -399,7 +400,6 @@ interrupt:
|
|||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
1: .long EXPEVT
|
1: .long EXPEVT
|
||||||
2: .long INTEVT
|
|
||||||
3: .long ret_from_irq
|
3: .long ret_from_irq
|
||||||
4: .long ret_from_exception
|
4: .long ret_from_exception
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user