]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: U300: bump IRQs to offset 32
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Oct 2012 11:16:46 +0000 (13:16 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Oct 2012 15:10:28 +0000 (17:10 +0200)
commitf8e1b50ea20f442e00ca265db7ee6f2e0312c226
treed418236dc0f6fe6ce01b8d69e0e2ead984687052
parentddffeb8c4d0331609ef2581d84de4d763607bd37
ARM: U300: bump IRQs to offset 32

The U300 IRQs were bumped once to offset to 1 (in order to avoid
using IRQ 0 which is now NO_IRQ). This was OK as we were still
passing the number of irqs in the .nr_irqs field of the machine,
with descriptors allocated at boot time.

However .nr_irqs should be 0, leading the system to reserve the
first 16 IRQs. Then the VIC driver will complain that IRQs 1
thru 15 are pre-allocated, so to avoid this and use free
descriptors, move all IRQs up to offset 32.

This will all be done away with as we migrate to device tree,
so it is an interim solution.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/core.c
arch/arm/mach-u300/include/mach/irqs.h