SH: Delete unnecessary mov in the top of interrupt
PATCH 1/1 SH: Delete unnecessary mov in the top of interrupt
Hi, all.
I think that to move INTEVT address to the scratch reg in the top of interrupt is already unnecessary.
So this patch delete it.
Signed-off-by Aoi Shinkai <[email protected]>
--- b/arch/sh/kernel/cpu/sh3/entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/sh/kernel/cpu/sh3/entry.S +2 -2
@@ -376,9 +376,9 @@ tlb_miss: ! .balign 512,0,512 interrupt: - mov.l 2f, k2 mov.l 3f, k3 #if defined(CONFIG_KGDB_NMI) + mov.l 2f, k2 ! Debounce (filter nested NMI) mov.l @k2, k0 mov.l 5f, k1
@@ -390,6 +390,7 @@ interrupt: rte nop .align 2 +2: .long INTEVT 5: .long NMI_VEC 6: .long in_nmi 0:
@@ -399,7 +400,6 @@ interrupt: .align 2 1: .long EXPEVT -2: .long INTEVT 3: .long ret_from_irq 4: .long ret_from_exception
Paul Mundt
AppliedQuoted 5 lines · On Mon, Dec 08, 2008 at 11:04:11PM +0900, shinkoi2005 wrote:
I think that to move INTEVT address to the scratch reg in the top of interrupt is already unnecessary.
So this patch delete it.Signed-off-by Aoi Shinkai <[email protected]>
That is indeed the case, good catch!
Applied, thanks.