diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2015-06-18 17:41:32 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-06-19 16:46:39 +0300 |
commit | af391b15f7b56ce19f52862d36595637dd42b575 (patch) | |
tree | 582ee110ca1414b2b24d06f45a9b0718e814aa24 /arch/arm64/include/asm/suspend.h | |
parent | 4e2ee96a63d434177ad1785208fe06858ebfe739 (diff) | |
download | linux-af391b15f7b56ce19f52862d36595637dd42b575.tar.xz |
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>
Diffstat (limited to 'arch/arm64/include/asm/suspend.h')
-rw-r--r-- | arch/arm64/include/asm/suspend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/suspend.h b/arch/arm64/include/asm/suspend.h index 003802f58963..59a5b0f1e81c 100644 --- a/arch/arm64/include/asm/suspend.h +++ b/arch/arm64/include/asm/suspend.h @@ -21,6 +21,6 @@ struct sleep_save_sp { phys_addr_t save_ptr_stash_phys; }; -extern int __cpu_suspend(unsigned long arg, int (*fn)(unsigned long)); +extern int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)); extern void cpu_resume(void); #endif |