Skip to content
Commit b88fb83b authored by Uwe Kleine-König's avatar Uwe Kleine-König
Browse files

netx: Use get_irqnr_preamble to initialize base register



This patch optimizes the irq handling a bit.  Now the base register is
only computed once per irq exception instead of at least twice.
Moreover the mov+add sequence is simplified to an ldr (which might save
some cycles depending on memory timing).

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent ed680c4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment