summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-06-11 19:16:47 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2015-06-11 19:20:27 +0200
commit73bf8412e4f24b114c853012663fff4d3cde06a2 (patch)
tree4767d8781c76a718bfa6949dc1090463e76b1c16 /arch/Kconfig
parentarm64: fix bug for reloading FPSIMD state after CPU hotplug. (diff)
downloadlinux-73bf8412e4f24b114c853012663fff4d3cde06a2.tar.xz
linux-73bf8412e4f24b114c853012663fff4d3cde06a2.zip
arm64: psci: fix !CONFIG_HOTPLUG_CPU build warning
When building without CONFIG_HOTPLUG_CPU, GCC complains (rightly) that psci_tos_resident_on is unused: arch/arm64/kernel/psci.c:61:13: warning: ‘psci_tos_resident_on’ defined but not used [-Wunused-function] static bool psci_tos_resident_on(int cpu) As it's only ever used when CONFIG_HOTPLUG_CPU is selected, let's move it into the existing ifdef. Signed-off-by: Will Deacon <will.deacon@arm.com> [Mark: write commit message] Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions