From: Russell King Date: Mon, 13 Jun 2011 15:12:27 +0000 (+0100) Subject: ARM: pm: mach-exynos4: cleanup s3c_cpu_save X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=769783a9300d47236766345cc98ce963122c2e4f;p=deliverable%2Flinux.git ARM: pm: mach-exynos4: cleanup s3c_cpu_save s3c_cpu_save does not need to save any registers with the new cpu_suspend calling convention. Remove these redundant instructions. Signed-off-by: Russell King --- diff --git a/arch/arm/mach-exynos4/sleep.S b/arch/arm/mach-exynos4/sleep.S index d9a2287b4641..b56a4914985c 100644 --- a/arch/arm/mach-exynos4/sleep.S +++ b/arch/arm/mach-exynos4/sleep.S @@ -40,11 +40,8 @@ */ ENTRY(s3c_cpu_save) - - stmfd sp!, { r3 - r12, lr } adr r3, BSYM(exynos4_finish_suspend) - bl cpu_suspend - ldmfd sp!, { r3 - r12, pc } + b cpu_suspend exynos4_finish_suspend: ldr r0, =pm_cpu_sleep