powerpc: Radix trees are available before init_IRQ
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:29:53 +0000 (19:29 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 05:31:35 +0000 (15:31 +1000)
commit3af259d1555a93b3b6f6545af13e0eb99b0d5d32
tree8b907637ca8816014e87260d6d5ac72911605956
parente085255ebce87c0b85d4752638d8a7d4f35f5b64
powerpc: Radix trees are available before init_IRQ

Since the generic irq code uses a radix tree for sparse interrupts,
the initcall ordering has been changed to initialize radix trees before
irqs.   We no longer need to defer creating revmap radix trees to the
arch_initcall irq_late_init.

Also, the kmem caches are allocated so we don't need to use
zalloc_maybe_bootmem.

Signed-off-by: Milton Miller <miltonm@bga.com>
Reviewed-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/irq.c