Will Deacon 73bf8412e4 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>
2015-06-11 18:20:27 +01:00
..
2012-09-17 13:42:21 +01:00
2015-05-27 13:22:24 +01:00
2014-05-29 09:08:08 +01:00
2015-04-16 13:58:29 -05:00
2014-12-09 13:12:47 -08:00
2015-06-08 18:34:21 +01:00
2015-06-02 17:44:51 +01:00
2014-07-10 12:36:40 +01:00
2014-09-25 15:35:41 +01:00
2015-04-24 08:23:45 -07:00
2014-11-28 10:24:59 +00:00
2015-04-13 20:40:10 +02:00
2015-01-27 09:38:08 +00:00