summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-18 20:33:18 +0800
committerMarc Zyngier <maz@kernel.org>2020-09-18 16:59:20 +0100
commit9d9edb962e910552c9c008800ec907293a47852e (patch)
treeb2c6f043484966cca4ea5a00eb4f814905ea0eaa /arch/arm/kernel/smp.c
parent8594c3b85171b6f68e34e07b533ec2f1bf7fb065 (diff)
downloadlinux-9d9edb962e910552c9c008800ec907293a47852e.tar.bz2
arm64: Fix -Wunused-function warning when !CONFIG_HOTPLUG_CPU
If CONFIG_HOTPLUG_CPU is n, gcc warns: arch/arm64/kernel/smp.c:967:13: warning: ‘ipi_teardown’ defined but not used [-Wunused-function] static void ipi_teardown(int cpu) ^~~~~~~~~~~~ Use #ifdef guard this. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200918123318.23764-1-yuehaibing@huawei.com
Diffstat (limited to 'arch/arm/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions