summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2008-02-11 21:44:07 (GMT)
committerKevin Hilman <khilman@deeprootsystems.com>2009-05-26 14:18:14 (GMT)
commitce8ccaf0efeb43cd23393a9590365587ad879b2a (patch)
treefb3d3ecf1d937f91770148c65456c2cccc9076ef /arch
parent17eb15704142dc1b302a3f0cd632c426ee326b6d (diff)
downloadlinux-fsl-qoriq-ce8ccaf0efeb43cd23393a9590365587ad879b2a.tar.xz
davinci: interrupts: get_irqnr_and_base: save an instruction
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-davinci/include/mach/entry-macro.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/include/mach/entry-macro.S b/arch/arm/mach-davinci/include/mach/entry-macro.S
index 039b84f..0ebb445 100644
--- a/arch/arm/mach-davinci/include/mach/entry-macro.S
+++ b/arch/arm/mach-davinci/include/mach/entry-macro.S
@@ -23,9 +23,8 @@
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \tmp, [\base, #0x14]
- mov \tmp, \tmp, lsr #2
+ movs \tmp, \tmp, lsr #2
sub \irqnr, \tmp, #1
- cmp \tmp, #0
.endm
.macro irq_prio_table