aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-19 14:39:39 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-01-21 05:55:33 -0500
commit2604362b2671cef309f6023e6bea0cec52ee993b (patch)
treefc8ebfec0382354b9b96128ebe852a27235831a1 /arch
parent72e73af1f6546ba08d9314ac0e99dcdb06b7d486 (diff)
powerpc: Use generic irq Kconfig
No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Kconfig24
1 files changed, 3 insertions, 21 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index e0b185dd718a..7d69e9bf5e64 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -36,20 +36,12 @@ config GENERIC_TIME_VSYSCALL
36config GENERIC_CLOCKEVENTS 36config GENERIC_CLOCKEVENTS
37 def_bool y 37 def_bool y
38 38
39config GENERIC_HARDIRQS
40 bool
41 default y
42
43config HAVE_SETUP_PER_CPU_AREA 39config HAVE_SETUP_PER_CPU_AREA
44 def_bool PPC64 40 def_bool PPC64
45 41
46config NEED_PER_CPU_EMBED_FIRST_CHUNK 42config NEED_PER_CPU_EMBED_FIRST_CHUNK
47 def_bool PPC64 43 def_bool PPC64
48 44
49config IRQ_PER_CPU
50 bool
51 default y
52
53config NR_IRQS 45config NR_IRQS
54 int "Number of virtual interrupt numbers" 46 int "Number of virtual interrupt numbers"
55 range 32 32768 47 range 32 32768
@@ -139,6 +131,9 @@ config PPC
139 select HAVE_PERF_EVENTS 131 select HAVE_PERF_EVENTS
140 select HAVE_REGS_AND_STACK_ACCESS_API 132 select HAVE_REGS_AND_STACK_ACCESS_API
141 select HAVE_HW_BREAKPOINT if PERF_EVENTS && PPC_BOOK3S_64 133 select HAVE_HW_BREAKPOINT if PERF_EVENTS && PPC_BOOK3S_64
134 select HAVE_GENERIC_HARDIRQS
135 select HAVE_SPARSE_IRQ
136 select IRQ_PER_CPU
142 137
143config EARLY_PRINTK 138config EARLY_PRINTK
144 bool 139 bool
@@ -388,19 +383,6 @@ config IRQ_ALL_CPUS
388 CPU. Generally saying Y is safe, although some problems have been 383 CPU. Generally saying Y is safe, although some problems have been
389 reported with SMP Power Macintoshes with this option enabled. 384 reported with SMP Power Macintoshes with this option enabled.
390 385
391config SPARSE_IRQ
392 bool "Support sparse irq numbering"
393 default n
394 help
395 This enables support for sparse irqs. This is useful for distro
396 kernels that want to define a high CONFIG_NR_CPUS value but still
397 want to have low kernel memory footprint on smaller machines.
398
399 ( Sparse IRQs can also be beneficial on NUMA boxes, as they spread
400 out the irq_desc[] array in a more NUMA-friendly way. )
401
402 If you don't know what to do here, say N.
403
404config NUMA 386config NUMA
405 bool "NUMA support" 387 bool "NUMA support"
406 depends on PPC64 388 depends on PPC64