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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Nov 2015 22:33:39 +0000 (14:33 -0800)
commitfb1de80c1b15980a0e5109d00fd2ffad30563de3
tree0d4fa47d8dbd0aae74b2e835baa38f53bcab0ddc
parent82696471b9c72e4b996e009bb6b4ee432c175582
arm64: kernel: rename __cpu_suspend to keep it aligned with arm

commit af391b15f7b56ce19f52862d36595637dd42b575 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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