提交 690cec8e 编写于 作者: B Ben Hutchings 提交者: Martin Schwidefsky

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: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org # 3.9
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 17858ca6
...@@ -312,6 +312,7 @@ void measurement_alert_subclass_unregister(void) ...@@ -312,6 +312,7 @@ void measurement_alert_subclass_unregister(void)
} }
EXPORT_SYMBOL(measurement_alert_subclass_unregister); EXPORT_SYMBOL(measurement_alert_subclass_unregister);
#ifdef CONFIG_SMP
void synchronize_irq(unsigned int irq) void synchronize_irq(unsigned int irq)
{ {
/* /*
...@@ -320,6 +321,7 @@ void synchronize_irq(unsigned int irq) ...@@ -320,6 +321,7 @@ void synchronize_irq(unsigned int irq)
*/ */
} }
EXPORT_SYMBOL_GPL(synchronize_irq); EXPORT_SYMBOL_GPL(synchronize_irq);
#endif
#ifndef CONFIG_PCI #ifndef CONFIG_PCI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册