diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2018-08-09 10:59:01 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-08-13 09:02:54 +0100 |
commit | 0702bc4d2fe793018ad9aa0eb14bff7f526c4095 (patch) | |
tree | 5b5a161c6f400f1628b030983b833da58f4eb208 /LICENSES | |
parent | a8db74564b0c634667e1722264bde303d296f566 (diff) | |
download | linux-stable-0702bc4d2fe793018ad9aa0eb14bff7f526c4095.tar.gz linux-stable-0702bc4d2fe793018ad9aa0eb14bff7f526c4095.tar.bz2 linux-stable-0702bc4d2fe793018ad9aa0eb14bff7f526c4095.zip |
irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP
When compiling bmips with SMP disabled, the build fails with:
drivers/irqchip/irq-bcm7038-l1.o: In function `bcm7038_l1_cpu_offline':
drivers/irqchip/irq-bcm7038-l1.c:242: undefined reference to `irq_set_affinity_locked'
make[5]: *** [vmlinux] Error 1
Fix this by adding and setting bcm7038_l1_cpu_offline only when actually
compiling for SMP. It wouldn't have been used anyway, as it requires
CPU_HOTPLUG, which in turn requires SMP.
Fixes: 34c535793bcb ("irqchip/bcm7038-l1: Implement irq_cpu_offline() callback")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions