提交 9d0713ed 编写于 作者: D David S. Miller

sparc64: Fix hibernation code refrence to PAGE_OFFSET.

We changed PAGE_OFFSET to be a variable rather than a constant,
but this reference here in the hibernate assembler got missed.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c21c4ab0
...@@ -54,8 +54,8 @@ ENTRY(swsusp_arch_resume) ...@@ -54,8 +54,8 @@ ENTRY(swsusp_arch_resume)
nop nop
/* Write PAGE_OFFSET to %g7 */ /* Write PAGE_OFFSET to %g7 */
sethi %uhi(PAGE_OFFSET), %g7 sethi %hi(PAGE_OFFSET), %g7
sllx %g7, 32, %g7 ldx [%g7 + %lo(PAGE_OFFSET)], %g7
setuw (PAGE_SIZE-8), %g3 setuw (PAGE_SIZE-8), %g3
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册