summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/proc-arm920.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-08-27 11:43:14 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-28 10:39:54 +0100
commit1c0270cd3a7a66148c3f72cab8fffc650d196d1d (patch)
tree3a06c26ffc1920f302ff222d03bd812c70f3c4e2 /arch/arm/mm/proc-arm920.S
parent6f354e5f40f433da98fab4103cd3a0aef1c18bde (diff)
downloadtalos-obmc-linux-1c0270cd3a7a66148c3f72cab8fffc650d196d1d.tar.gz
talos-obmc-linux-1c0270cd3a7a66148c3f72cab8fffc650d196d1d.zip
ARM: pm: arm920/926: fix number of registers saved
ARM920 and ARM926 save four registers, not three. Fix the size of the suspend region required. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-arm920.S')
-rw-r--r--arch/arm/mm/proc-arm920.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/proc-arm920.S b/arch/arm/mm/proc-arm920.S
index 92bd102e3982..2e6849b41f66 100644
--- a/arch/arm/mm/proc-arm920.S
+++ b/arch/arm/mm/proc-arm920.S
@@ -379,7 +379,7 @@ ENTRY(cpu_arm920_set_pte_ext)
/* Suspend/resume support: taken from arch/arm/plat-s3c24xx/sleep.S */
.globl cpu_arm920_suspend_size
-.equ cpu_arm920_suspend_size, 4 * 3
+.equ cpu_arm920_suspend_size, 4 * 4
#ifdef CONFIG_PM_SLEEP
ENTRY(cpu_arm920_do_suspend)
stmfd sp!, {r4 - r7, lr}
OpenPOWER on IntegriCloud