Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce8ccaf0 authored by Troy Kisky's avatar Troy Kisky Committed by Kevin Hilman
Browse files

davinci: interrupts: get_irqnr_and_base: save an instruction

parent 17eb1570
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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