aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/entry-macro.S
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-08 05:53:13 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-02-08 20:31:11 -0500
commit62f60d6a37910501814c6281e6c21b485434a7f1 (patch)
tree0a4ab10cf6c6e162343788a0699cda4860105679 /arch/arm/mach-shmobile/include/mach/entry-macro.S
parent34bf0fc54a4634ebb0a992e8562191a01233e240 (diff)
ARM: mach-shmobile: optimize get_irqnr_preamble/and_base macros
Optimize the SH-Mobile interrupt assembly macros to avoid reloading the INTFLGA register address in case of multiple pending interrupts. Kindly pointed out by Russell King. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/entry-macro.S')
-rw-r--r--arch/arm/mach-shmobile/include/mach/entry-macro.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/entry-macro.S b/arch/arm/mach-shmobile/include/mach/entry-macro.S
index 796b304050cc..a285d13c7416 100644
--- a/arch/arm/mach-shmobile/include/mach/entry-macro.S
+++ b/arch/arm/mach-shmobile/include/mach/entry-macro.S
@@ -21,13 +21,13 @@
21 .endm 21 .endm
22 22
23 .macro get_irqnr_preamble, base, tmp 23 .macro get_irqnr_preamble, base, tmp
24 ldr \base, =INTFLGA
24 .endm 25 .endm
25 26
26 .macro arch_ret_to_user, tmp1, tmp2 27 .macro arch_ret_to_user, tmp1, tmp2
27 .endm 28 .endm
28 29
29 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp 30 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
30 ldr \base, =INTFLGA
31 ldr \irqnr, [\base] 31 ldr \irqnr, [\base]
32 cmp \irqnr, #0 32 cmp \irqnr, #0
33 beq 1000f 33 beq 1000f