]> err.no Git - linux-2.6/commit
ns9xxx: add support for irq priorisation
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Tue, 11 Dec 2007 15:52:50 +0000 (16:52 +0100)
committerUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Mon, 31 Mar 2008 08:33:11 +0000 (10:33 +0200)
commited6f5987235c628e1041311d7c1efdf659e2dad7
treef0580d8d1531608020874ddb30e06dd690ecefa9
parent5e69b945f20aec17bf057acbb61b6682461e7149
ns9xxx: add support for irq priorisation

prio2irq(0) is the highest prioritized interrupt.  For now there is no
binary change intended.

If you intend to change the priorisation, you have to assert:

∀ x ∈ {0, 1, ⋯ 31}: (irq2prio ∘ prio2irq)(x) = x

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
arch/arm/mach-ns9xxx/irq.c