powerpc: Enable sparse irq_descs on powerpc
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 13 Oct 2009 19:45:03 +0000 (19:45 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Oct 2009 06:21:31 +0000 (17:21 +1100)
commitcd015707176820b86d07b5dffdecfefdd539a497
treec71a90d99a1dee4d5a24f883230c201c43cd8c0d
parent750ab112919220a1d14491ae210b689bcb7d6d66
powerpc: Enable sparse irq_descs on powerpc

Defining CONFIG_SPARSE_IRQ enables generic code that gets rid of the
static irq_desc array, and replaces it with an array of pointers to
irq_descs.

It also allows node local allocation of irq_descs, however we
currently don't have the information available to do that, so we just
allocate them on all on node 0.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/include/asm/irq.h
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kernel/setup_64.c