x86/power/64: Do not refer to __PAGE_OFFSET from assembly code
[cascardo/linux.git] / arch / x86 / power / hibernate_asm_64.S
index 8eee0e9..ce8da3a 100644 (file)
@@ -72,8 +72,6 @@ ENTRY(restore_image)
        /* code below has been relocated to a safe page */
 ENTRY(core_restore_code)
        /* switch to temporary page tables */
-       movq    $__PAGE_OFFSET, %rcx
-       subq    %rcx, %rax
        movq    %rax, %cr3
        /* flush TLB */
        movq    %rbx, %rcx