mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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>
This commit is contained in:
parent
17eb157041
commit
ce8ccaf0ef
1 changed files with 1 additions and 2 deletions
|
@ -23,9 +23,8 @@
|
||||||
|
|
||||||
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
|
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
|
||||||
ldr \tmp, [\base, #0x14]
|
ldr \tmp, [\base, #0x14]
|
||||||
mov \tmp, \tmp, lsr #2
|
movs \tmp, \tmp, lsr #2
|
||||||
sub \irqnr, \tmp, #1
|
sub \irqnr, \tmp, #1
|
||||||
cmp \tmp, #0
|
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro irq_prio_table
|
.macro irq_prio_table
|
||||||
|
|
Loading…
Reference in a new issue