diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-10-13 15:45:03 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-10-30 02:21:31 -0400 |
commit | cd015707176820b86d07b5dffdecfefdd539a497 (patch) | |
tree | c71a90d99a1dee4d5a24f883230c201c43cd8c0d /arch/powerpc/Kconfig | |
parent | 750ab112919220a1d14491ae210b689bcb7d6d66 (diff) |
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 3aa79f8e39e4..61abde11a45e 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -377,6 +377,19 @@ config IRQ_ALL_CPUS | |||
377 | CPU. Generally saying Y is safe, although some problems have been | 377 | CPU. Generally saying Y is safe, although some problems have been |
378 | reported with SMP Power Macintoshes with this option enabled. | 378 | reported with SMP Power Macintoshes with this option enabled. |
379 | 379 | ||
380 | config SPARSE_IRQ | ||
381 | bool "Support sparse irq numbering" | ||
382 | default y | ||
383 | help | ||
384 | This enables support for sparse irqs. This is useful for distro | ||
385 | kernels that want to define a high CONFIG_NR_CPUS value but still | ||
386 | want to have low kernel memory footprint on smaller machines. | ||
387 | |||
388 | ( Sparse IRQs can also be beneficial on NUMA boxes, as they spread | ||
389 | out the irq_desc[] array in a more NUMA-friendly way. ) | ||
390 | |||
391 | If you don't know what to do here, say Y. | ||
392 | |||
380 | config NUMA | 393 | config NUMA |
381 | bool "NUMA support" | 394 | bool "NUMA support" |
382 | depends on PPC64 | 395 | depends on PPC64 |