arm: Move ipi_teardown() to a CONFIG_HOTPLUG_CPU section
authorMarc Zyngier <maz@kernel.org>
Fri, 18 Sep 2020 16:19:46 +0000 (17:19 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 18 Sep 2020 16:40:48 +0000 (17:40 +0100)
commitac15a54e03d13686d2fc016a88311801b0734046
treec70e6e93225f2f219114176111769d1090be2eb8
parent9d9edb962e910552c9c008800ec907293a47852e
arm: Move ipi_teardown() to a CONFIG_HOTPLUG_CPU section

ipi_teardown() is only used when CONFIG_HOTPLUG_CPU is enabled.
Move the function to a location guarded by this config option.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm/kernel/smp.c