aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHauke Mehrtens <[email protected]>2016-03-06 21:28:56 +0000
committerRalf Baechle <[email protected]>2016-03-13 09:56:48 +0000
commit7a50e4688dabb8005df39b2b992d76629b8af8aa (patch)
tree460bf393f149c238be5b3caf1a62a72f90ed8351 /net/switchdev/switchdev.c
parentld-version: Fix awk regex compile failure (diff)
downloadkernel-7a50e4688dabb8005df39b2b992d76629b8af8aa.tar.gz
kernel-7a50e4688dabb8005df39b2b992d76629b8af8aa.zip
MIPS: Fix build error when SMP is used without GIC
The MIPS_GIC_IPI should only be selected when MIPS_GIC is also selected, otherwise it results in a compile error. smp-gic.c uses some functions from include/linux/irqchip/mips-gic.h like plat_ipi_call_int_xlate() which are only added to the header file when MIPS_GIC is set. The Lantiq SoC does not use the GIC, but supports SMP. The calls top the functions from smp-gic.c are already protected by some #ifdefs The first part of this was introduced in commit 72e20142b2bf ("MIPS: Move GIC IPI functions out of smp-cmp.c") Signed-off-by: Hauke Mehrtens <[email protected]> Cc: Paul Burton <[email protected]> Cc: [email protected] # v3.15+ Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/12774/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions