arm64: unify smp_psci.c and psci.c
authorMark Rutland <mark.rutland@arm.com>
Thu, 24 Oct 2013 19:30:14 +0000 (20:30 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Oct 2013 10:33:19 +0000 (11:33 +0100)
commit00ef54bb97389bfe8894272f48496f4191aae946
treef12fb227f252f52e50f52599c84282ad4fa665bd
parent4fcd6e1416b0424f94ede03cb322a323a640bf4b
arm64: unify smp_psci.c and psci.c

The functions in psci.c are only used from smp_psci.c, and smp_psci
cannot function without psci.c. Additionally psci.c is built when !SMP,
where it's expected that cpu_suspend may be useful.

This patch unifies the two files, removing pointless duplication and
paving the way for PSCI support in UP systems.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/psci.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/psci.c
arch/arm64/kernel/smp_psci.c [deleted file]