linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: shinkoi2005 <shinkoi2005@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] SH: Delete unnecessary mov in the top of interrupt
Date: Mon, 08 Dec 2008 14:04:11 +0000	[thread overview]
Message-ID: <493D295B.1010806@gmail.com> (raw)

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


             reply	other threads:[~2008-12-08 14:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 14:04 shinkoi2005 [this message]
2008-12-10  4:28 ` [PATCH] SH: Delete unnecessary mov in the top of interrupt Paul Mundt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493D295B.1010806@gmail.com \
    --to=shinkoi2005@gmail.com \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).