s390/irq: Only define synchronize_irq() on SMP
authorBen Hutchings <ben@decadent.org.uk>
Fri, 14 Jun 2013 00:18:44 +0000 (01:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 19 Jun 2013 07:25:41 +0000 (09:25 +0200)
commit690cec8e70c211d1f5f6e520b21a68d0306173b6
treea7a45c1755b52b43cd9d8feb540123781636ad30
parent17858ca65eef148d335ffd4cfc09228a1c1cbfb5
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>
arch/s390/kernel/irq.c