diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-19 14:39:39 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-21 05:55:33 -0500 |
commit | 2604362b2671cef309f6023e6bea0cec52ee993b (patch) | |
tree | fc8ebfec0382354b9b96128ebe852a27235831a1 /arch/powerpc | |
parent | 72e73af1f6546ba08d9314ac0e99dcdb06b7d486 (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/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 24 |
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 | |||
36 | config GENERIC_CLOCKEVENTS | 36 | config GENERIC_CLOCKEVENTS |
37 | def_bool y | 37 | def_bool y |
38 | 38 | ||
39 | config GENERIC_HARDIRQS | ||
40 | bool | ||
41 | default y | ||
42 | |||
43 | config HAVE_SETUP_PER_CPU_AREA | 39 | config HAVE_SETUP_PER_CPU_AREA |
44 | def_bool PPC64 | 40 | def_bool PPC64 |
45 | 41 | ||
46 | config NEED_PER_CPU_EMBED_FIRST_CHUNK | 42 | config NEED_PER_CPU_EMBED_FIRST_CHUNK |
47 | def_bool PPC64 | 43 | def_bool PPC64 |
48 | 44 | ||
49 | config IRQ_PER_CPU | ||
50 | bool | ||
51 | default y | ||
52 | |||
53 | config NR_IRQS | 45 | config 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 | ||
143 | config EARLY_PRINTK | 138 | config 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 | ||
391 | config 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 | |||
404 | config NUMA | 386 | config NUMA |
405 | bool "NUMA support" | 387 | bool "NUMA support" |
406 | depends on PPC64 | 388 | depends on PPC64 |