ARM: 8371/1: always select IRQ_WORK on SMP
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 May 2015 14:36:58 +0000 (15:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 May 2015 23:25:34 +0000 (00:25 +0100)
Any SMP kernel now requires the irq_work code after
generic_smp_call_function_single_interrupt() started using it,
or we get:

kernel/built-in.o: In function `flush_smp_call_function_queue':
:(.text+0x4dc3a): undefined reference to `irq_work_run'

Fixes: 478850160636c4f ("irq_work: Implement remote queueing")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig

index 45df48ba0b128dd408e2275687b1757c87e0ca74..81c8b912d306a697300bee3b609cf4ef9dc36fe4 100644 (file)
@@ -1307,6 +1307,7 @@ config SMP
        depends on GENERIC_CLOCKEVENTS
        depends on HAVE_SMP
        depends on MMU || ARM_MPU
+       select IRQ_WORK
        help
          This enables support for systems with more than one CPU. If you have
          a system with only one CPU, say N. If you have a system with more