]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Make NR_IRQS a CONFIG option
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 13 Oct 2009 19:44:44 +0000 (19:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Oct 2009 06:20:54 +0000 (17:20 +1100)
commite1f40d1e961d07f8332b405c86d0ec69b6ee9d66
treeaecce5f8d02c6d31a6878b5e3a6c43f774297d4c
parentac0f85c633a668c29462b9eedec3a4eeb7fd8bb9
powerpc: Make NR_IRQS a CONFIG option

The irq_desc array consumes quite a lot of space, and for systems
that don't need or can't have 512 irqs it's just wasted space.

The first 16 are reserved for ISA, so the minimum of 32 is really
16 - and no one has asked for more than 512 so leave that as the
maximum.

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