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 /kernel | |
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 'kernel')
-rw-r--r-- | kernel/Makefile | 2 | ||||
-rw-r--r-- | kernel/irq/Kconfig | 12 | ||||
-rw-r--r-- | kernel/softirq.c | 2 |
3 files changed, 1 insertions, 15 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 35ef1185e359..1ce47553fb02 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -26,6 +26,7 @@ obj-y += sched/ | |||
26 | obj-y += power/ | 26 | obj-y += power/ |
27 | obj-y += printk/ | 27 | obj-y += printk/ |
28 | obj-y += cpu/ | 28 | obj-y += cpu/ |
29 | obj-y += irq/ | ||
29 | 30 | ||
30 | obj-$(CONFIG_CHECKPOINT_RESTORE) += kcmp.o | 31 | obj-$(CONFIG_CHECKPOINT_RESTORE) += kcmp.o |
31 | obj-$(CONFIG_FREEZER) += freezer.o | 32 | obj-$(CONFIG_FREEZER) += freezer.o |
@@ -79,7 +80,6 @@ obj-$(CONFIG_KPROBES) += kprobes.o | |||
79 | obj-$(CONFIG_KGDB) += debug/ | 80 | obj-$(CONFIG_KGDB) += debug/ |
80 | obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o | 81 | obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o |
81 | obj-$(CONFIG_LOCKUP_DETECTOR) += watchdog.o | 82 | obj-$(CONFIG_LOCKUP_DETECTOR) += watchdog.o |
82 | obj-$(CONFIG_GENERIC_HARDIRQS) += irq/ | ||
83 | obj-$(CONFIG_SECCOMP) += seccomp.o | 83 | obj-$(CONFIG_SECCOMP) += seccomp.o |
84 | obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o | 84 | obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o |
85 | obj-$(CONFIG_TREE_RCU) += rcutree.o | 85 | obj-$(CONFIG_TREE_RCU) += rcutree.o |
diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig index d1a758bc972a..4a1fef09f658 100644 --- a/kernel/irq/Kconfig +++ b/kernel/irq/Kconfig | |||
@@ -1,15 +1,4 @@ | |||
1 | # Select this to activate the generic irq options below | ||
2 | config HAVE_GENERIC_HARDIRQS | ||
3 | bool | ||
4 | |||
5 | if HAVE_GENERIC_HARDIRQS | ||
6 | menu "IRQ subsystem" | 1 | menu "IRQ subsystem" |
7 | # | ||
8 | # Interrupt subsystem related configuration options | ||
9 | # | ||
10 | config GENERIC_HARDIRQS | ||
11 | def_bool y | ||
12 | |||
13 | # Options selectable by the architecture code | 2 | # Options selectable by the architecture code |
14 | 3 | ||
15 | # Make sparse irq Kconfig switch below available | 4 | # Make sparse irq Kconfig switch below available |
@@ -84,4 +73,3 @@ config SPARSE_IRQ | |||
84 | If you don't know what to do here, say N. | 73 | If you don't know what to do here, say N. |
85 | 74 | ||
86 | endmenu | 75 | endmenu |
87 | endif | ||
diff --git a/kernel/softirq.c b/kernel/softirq.c index be3d3514c325..53cc09ceb0b8 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -876,7 +876,6 @@ int __init __weak early_irq_init(void) | |||
876 | return 0; | 876 | return 0; |
877 | } | 877 | } |
878 | 878 | ||
879 | #ifdef CONFIG_GENERIC_HARDIRQS | ||
880 | int __init __weak arch_probe_nr_irqs(void) | 879 | int __init __weak arch_probe_nr_irqs(void) |
881 | { | 880 | { |
882 | return NR_IRQS_LEGACY; | 881 | return NR_IRQS_LEGACY; |
@@ -886,4 +885,3 @@ int __init __weak arch_early_irq_init(void) | |||
886 | { | 885 | { |
887 | return 0; | 886 | return 0; |
888 | } | 887 | } |
889 | #endif | ||