]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2013 17:55:21 +0000 (10:55 -0700)
commit7b1866f9f35ac2042ea507559055015bf9d8271e
tree469ef7c76fec950e7640aa8957a7afe718cffa96
parenteb10d6c79f8bbbf6c64d3c1f0a8162c76c2a5bfc
s390/irq: Only define synchronize_irq() on SMP

commit 690cec8e70c211d1f5f6e520b21a68d0306173b6 upstream.

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>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/irq.c