ARM: shmobile: apmu: Move #ifdef CONFIG_SMP to cover more functions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Jun 2016 14:10:35 +0000 (16:10 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 29 Jun 2016 12:42:30 +0000 (14:42 +0200)
commitd3f3fb0cfdcf4cbf69af65e8bfdde65cedf4e53a
tree5ec4ba6c0222aa96bd637366c1595e90fe410a31
parent2477a356dd245bbbde74c81edc5f16a6d8192023
ARM: shmobile: apmu: Move #ifdef CONFIG_SMP to cover more functions

shmobile_smp_apmu_prepare_cpus() is used only if CONFIG_SMP=y.

Hence move the #ifdef to cover shmobile_smp_apmu_prepare_cpus() and all
functions only called by it (apmu_init_cpu() and apmu_parse_cfg()).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/platsmp-apmu.c