diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-06-13 20:18:44 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-06-19 03:25:41 -0400 |
commit | 690cec8e70c211d1f5f6e520b21a68d0306173b6 (patch) | |
tree | a7a45c1755b52b43cd9d8feb540123781636ad30 /arch/s390 | |
parent | 17858ca65eef148d335ffd4cfc09228a1c1cbfb5 (diff) |
s390/irq: Only define synchronize_irq() on SMP
In uniprocessor configurations, synchronize_irq() is defined in
<linux/hardirq.h> as a macro, and this function definition fails to
compile.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org # 3.9
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index 408e866ae548..dd3c1994b8bd 100644 --- a/arch/s390/kernel/irq.c +++ b/arch/s390/kernel/irq.c | |||
@@ -312,6 +312,7 @@ void measurement_alert_subclass_unregister(void) | |||
312 | } | 312 | } |
313 | EXPORT_SYMBOL(measurement_alert_subclass_unregister); | 313 | EXPORT_SYMBOL(measurement_alert_subclass_unregister); |
314 | 314 | ||
315 | #ifdef CONFIG_SMP | ||
315 | void synchronize_irq(unsigned int irq) | 316 | void synchronize_irq(unsigned int irq) |
316 | { | 317 | { |
317 | /* | 318 | /* |
@@ -320,6 +321,7 @@ void synchronize_irq(unsigned int irq) | |||
320 | */ | 321 | */ |
321 | } | 322 | } |
322 | EXPORT_SYMBOL_GPL(synchronize_irq); | 323 | EXPORT_SYMBOL_GPL(synchronize_irq); |
324 | #endif | ||
323 | 325 | ||
324 | #ifndef CONFIG_PCI | 326 | #ifndef CONFIG_PCI |
325 | 327 | ||