diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-08-30 03:39:53 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-09-13 09:09:52 -0400 |
commit | 0244ad004a54e39308d495fee0a2e637f8b5c317 (patch) | |
tree | b59152dc7cf57e7ffb9c8388ae9095e665406633 /lib | |
parent | 5a7d8a28080caed7fd4cb1b81d092adac4445e8e (diff) |
Remove GENERIC_HARDIRQ config option
After the last architecture switched to generic hard irqs the config
options HAVE_GENERIC_HARDIRQS & GENERIC_HARDIRQS and the related code
for !CONFIG_GENERIC_HARDIRQS can be removed.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 2 | ||||
-rw-r--r-- | lib/cpu_rmap.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c9eef36739a9..06344d986eb9 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -597,7 +597,7 @@ endmenu # "Memory Debugging" | |||
597 | 597 | ||
598 | config DEBUG_SHIRQ | 598 | config DEBUG_SHIRQ |
599 | bool "Debug shared IRQ handlers" | 599 | bool "Debug shared IRQ handlers" |
600 | depends on DEBUG_KERNEL && GENERIC_HARDIRQS | 600 | depends on DEBUG_KERNEL |
601 | help | 601 | help |
602 | Enable this to generate a spurious interrupt as soon as a shared | 602 | Enable this to generate a spurious interrupt as soon as a shared |
603 | interrupt handler is registered, and just before one is deregistered. | 603 | interrupt handler is registered, and just before one is deregistered. |
diff --git a/lib/cpu_rmap.c b/lib/cpu_rmap.c index 5fbed5caba6e..4f134d8907a7 100644 --- a/lib/cpu_rmap.c +++ b/lib/cpu_rmap.c | |||
@@ -8,9 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/cpu_rmap.h> | 10 | #include <linux/cpu_rmap.h> |
11 | #ifdef CONFIG_GENERIC_HARDIRQS | ||
12 | #include <linux/interrupt.h> | 11 | #include <linux/interrupt.h> |
13 | #endif | ||
14 | #include <linux/export.h> | 12 | #include <linux/export.h> |
15 | 13 | ||
16 | /* | 14 | /* |
@@ -213,8 +211,6 @@ int cpu_rmap_update(struct cpu_rmap *rmap, u16 index, | |||
213 | } | 211 | } |
214 | EXPORT_SYMBOL(cpu_rmap_update); | 212 | EXPORT_SYMBOL(cpu_rmap_update); |
215 | 213 | ||
216 | #ifdef CONFIG_GENERIC_HARDIRQS | ||
217 | |||
218 | /* Glue between IRQ affinity notifiers and CPU rmaps */ | 214 | /* Glue between IRQ affinity notifiers and CPU rmaps */ |
219 | 215 | ||
220 | struct irq_glue { | 216 | struct irq_glue { |
@@ -309,5 +305,3 @@ int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq) | |||
309 | return rc; | 305 | return rc; |
310 | } | 306 | } |
311 | EXPORT_SYMBOL(irq_cpu_rmap_add); | 307 | EXPORT_SYMBOL(irq_cpu_rmap_add); |
312 | |||
313 | #endif /* CONFIG_GENERIC_HARDIRQS */ | ||