diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-05-07 11:44:20 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-05-16 08:05:22 -0400 |
commit | be4034016c11f8913d38fccf692007fab1c50be1 (patch) | |
tree | b1f94d3d19f4104d5f237328b4c126ed83f1b68e /arch/s390 | |
parent | 5fdaf1bf8a60f73a11cb4431fd06daa2b295a327 (diff) |
s390: Avoid call to irq_reserve_irqs()
There is no need to mark the lower interrupts as reserved in order to
exclude them from dynamic allocation.
Provide arch_dynirq_lower_bound() to exclude the lower space.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Grant Likely <grant.likely@linaro.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Link: http://lkml.kernel.org/r/20140507154339.811205235@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/irq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index 2fb099809d5d..99b0b09646ca 100644 --- a/arch/s390/kernel/irq.c +++ b/arch/s390/kernel/irq.c | |||
@@ -92,7 +92,6 @@ static const struct irq_class irqclass_sub_desc[NR_ARCH_IRQS] = { | |||
92 | 92 | ||
93 | void __init init_IRQ(void) | 93 | void __init init_IRQ(void) |
94 | { | 94 | { |
95 | irq_reserve_irqs(0, THIN_INTERRUPT); | ||
96 | init_cio_interrupts(); | 95 | init_cio_interrupts(); |
97 | init_airq_interrupts(); | 96 | init_airq_interrupts(); |
98 | init_ext_interrupts(); | 97 | init_ext_interrupts(); |
@@ -151,6 +150,11 @@ out: | |||
151 | return 0; | 150 | return 0; |
152 | } | 151 | } |
153 | 152 | ||
153 | unsigned int arch_dynirq_lower_bound(unsigned int from) | ||
154 | { | ||
155 | return from < THIN_INTERRUPT ? THIN_INTERRUPT : from; | ||
156 | } | ||
157 | |||
154 | /* | 158 | /* |
155 | * Switch to the asynchronous interrupt stack for softirq execution. | 159 | * Switch to the asynchronous interrupt stack for softirq execution. |
156 | */ | 160 | */ |