OSDN Git Service

arm64: kernel: rename __cpu_suspend to keep it aligned with arm
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 18 Jun 2015 14:41:32 +0000 (15:41 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 19 Jun 2015 13:46:39 +0000 (14:46 +0100)
commitaf391b15f7b56ce19f52862d36595637dd42b575
tree582ee110ca1414b2b24d06f45a9b0718e814aa24
parent4e2ee96a63d434177ad1785208fe06858ebfe739
arm64: kernel: rename __cpu_suspend to keep it aligned with arm

This patch renames __cpu_suspend to cpu_suspend so that it's aligned
with ARM32. It also removes the redundant wrapper created.

This is in preparation to implement generic PSCI system suspend using
the cpu_{suspend,resume} which now has the same interface on both ARM
and ARM64.

Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpuidle.h
arch/arm64/include/asm/suspend.h
arch/arm64/kernel/cpuidle.c
arch/arm64/kernel/psci.c
arch/arm64/kernel/suspend.c