diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-07-06 18:15:19 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-07-20 14:44:09 +0300 |
commit | 8fc0d470bc77fa07632b471cec8207baf9704e32 (patch) | |
tree | 4f66317eb1b8e732b4de986bcafdcfc79e0bf217 /arch/arm/mach-shmobile/timer.c | |
parent | c83e9c4873d34aa8d9bbb90345fee0757b6233ef (diff) | |
download | linux-8fc0d470bc77fa07632b471cec8207baf9704e32.tar.xz |
ARM: shmobile: r8a7779: hide unused r8a7779_platform_cpu_kill
After the cleanup in r8a7779_smp_prepare_cpus(), the only remaining caller of
r8a7779_platform_cpu_kill() is in an ifdef, which leads to a build warning
without CONFIG_HOTPLUG_CPU:
arch/arm/mach-shmobile/smp-r8a7779.c:26:12: error: 'r8a7779_platform_cpu_kill' defined but not used [-Werror=unused-function]
This moves the function inside of that #ifdef to avoid the warning.
Fixes: 62f55ce683e3 ("ARM: shmobile: r8a7779: Stop powering down secondary CPUs during early boot")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/timer.c')
0 files changed, 0 insertions, 0 deletions