]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43155f9a00b2fc6f09667ad35c92240ddca3f52b
treec71a90d99a1dee4d5a24f883230c201c43cd8c0d
parent9e9717354a96c45de6a5b5b5015e8eea9c245a2c
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