]> Pileus Git - ~andy/linux/commit
ARM: nomadik: bump the IRQ numbers again
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 2 Jan 2013 21:30:56 +0000 (22:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 3 Jan 2013 22:42:07 +0000 (23:42 +0100)
commitd9621176872319a568d9892701410bcbfbd5b35c
treeb5f2d4303a746f634e9700e3d62c8291bd4320f0
parent7f252b162841d42d0a629d37450522ae75c46890
ARM: nomadik: bump the IRQ numbers again

Bump the IRQ numbers from offset at 1 (right above NO_IRQ)
to 32. This is the painful way to learn that if you're using
SPARSE_IRQ and avoid to define .nr_irqs in your machine,
the first 16 IRQs will be pre-allocated, and the IRQdomain
code (as the VIC core code before it) will then assume
that all IRQ descriptors are pre-allocated, and 16 of them
are - by somebody else. So mapping the IRQs will fail in
irq_create_mapping(). Moving the offset upward rids us of
this problem.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-nomadik/include/mach/irqs.h