summaryrefslogtreecommitdiffstats
path: root/include/math-emu
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2018-08-09 10:59:01 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2018-08-13 10:02:54 +0200
commit0702bc4d2fe793018ad9aa0eb14bff7f526c4095 (patch)
tree5b5a161c6f400f1628b030983b833da58f4eb208 /include/math-emu
parentirqchip/gic-v3-its: Make its_lock a raw_spin_lock_t (diff)
downloadlinux-0702bc4d2fe793018ad9aa0eb14bff7f526c4095.tar.xz
linux-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 'include/math-emu')
0 files changed, 0 insertions, 0 deletions