diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2008-02-11 21:44:07 (GMT) |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-26 14:18:14 (GMT) |
commit | ce8ccaf0efeb43cd23393a9590365587ad879b2a (patch) | |
tree | fb3d3ecf1d937f91770148c65456c2cccc9076ef /arch | |
parent | 17eb15704142dc1b302a3f0cd632c426ee326b6d (diff) | |
download | linux-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.S | 3 |
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 |