* [PATCH] SH: Delete unnecessary mov in the top of interrupt
@ 2008-12-08 14:04 shinkoi2005
2008-12-10 4:28 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: shinkoi2005 @ 2008-12-08 14:04 UTC (permalink / raw)
To: linux-sh
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 <shinkoi2005@gmail.com>
---
b/arch/sh/kernel/cpu/sh3/entry.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/sh/kernel/cpu/sh3/entry.S 2008-12-08 19:42:26.000000000 +0900
+++ b/arch/sh/kernel/cpu/sh3/entry.S 2008-12-08 19:42:42.000000000 +0900
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] SH: Delete unnecessary mov in the top of interrupt
2008-12-08 14:04 [PATCH] SH: Delete unnecessary mov in the top of interrupt shinkoi2005
@ 2008-12-10 4:28 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-12-10 4:28 UTC (permalink / raw)
To: linux-sh
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 <shinkoi2005@gmail.com>
That is indeed the case, good catch!
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-10 4:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 14:04 [PATCH] SH: Delete unnecessary mov in the top of interrupt shinkoi2005
2008-12-10 4:28 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).