diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-10-13 19:45:03 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-10-30 17:21:31 +1100 |
commit | cd015707176820b86d07b5dffdecfefdd539a497 (patch) | |
tree | c71a90d99a1dee4d5a24f883230c201c43cd8c0d /arch/powerpc/Kconfig | |
parent | 750ab112919220a1d14491ae210b689bcb7d6d66 (diff) | |
download | kernel_samsung_crespo-cd015707176820b86d07b5dffdecfefdd539a497.zip kernel_samsung_crespo-cd015707176820b86d07b5dffdecfefdd539a497.tar.gz kernel_samsung_crespo-cd015707176820b86d07b5dffdecfefdd539a497.tar.bz2 |
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>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 3aa79f8..61abde1 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -377,6 +377,19 @@ config IRQ_ALL_CPUS CPU. Generally saying Y is safe, although some problems have been reported with SMP Power Macintoshes with this option enabled. +config SPARSE_IRQ + bool "Support sparse irq numbering" + default y + help + This enables support for sparse irqs. This is useful for distro + kernels that want to define a high CONFIG_NR_CPUS value but still + want to have low kernel memory footprint on smaller machines. + + ( Sparse IRQs can also be beneficial on NUMA boxes, as they spread + out the irq_desc[] array in a more NUMA-friendly way. ) + + If you don't know what to do here, say Y. + config NUMA bool "NUMA support" depends on PPC64 |