aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/swsusp_asm64.S
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-24 00:01:09 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-10-06 23:26:20 -0400
commit2e2b4043cc0a2c11abbe4fdff6dce3f81cff3e30 (patch)
tree7d56839331a5f9aceeccabbe114ebcf6d6891a01 /arch/powerpc/kernel/swsusp_asm64.S
parent0bb08107edb3d38b89be8fb623b46df73f2aa8c8 (diff)
powerpc: Fix 64-bit hibernation with 64k pages
A bug in my initial 64-bit hibernation code breaks it when using page sizes that aren't 4K. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/swsusp_asm64.S')
-rw-r--r--arch/powerpc/kernel/swsusp_asm64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/swsusp_asm64.S b/arch/powerpc/kernel/swsusp_asm64.S
index e092c3cbdb9b..86ac1d90d02b 100644
--- a/arch/powerpc/kernel/swsusp_asm64.S
+++ b/arch/powerpc/kernel/swsusp_asm64.S
@@ -133,7 +133,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
133 133
134 cmpdi r12,0 134 cmpdi r12,0
135 beq- nothing_to_copy 135 beq- nothing_to_copy
136 li r15,512 136 li r15,PAGE_SIZE>>3
137copyloop: 137copyloop:
138 ld r13,pbe_address(r12) 138 ld r13,pbe_address(r12)
139 ld r14,pbe_orig_address(r12) 139 ld r14,pbe_orig_address(r12)