Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85991
b: refs/heads/master
c: bbb1e57
h: refs/heads/master
i:
  85989: 5fd842e
  85987: 942fda1
  85983: 65b5b45
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Feb 19, 2008
1 parent aefd1b2 commit 6c0a854
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 248fb89c12228190cecea553353e16cf21a67dc3
refs/heads/master: bbb1e57a1c0b732cfeb727bed7c61e80a79c6479
5 changes: 3 additions & 2 deletions trunk/arch/x86/power/hibernate_asm_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <asm/segment.h>
#include <asm/page.h>
#include <asm/asm-offsets.h>
#include <asm/processor-flags.h>

ENTRY(swsusp_arch_suspend)
movq $saved_context, %rax
Expand Down Expand Up @@ -60,7 +61,7 @@ ENTRY(restore_image)
/* Flush TLB */
movq mmu_cr4_features(%rip), %rax
movq %rax, %rdx
andq $~(1<<7), %rdx # PGE
andq $~(X86_CR4_PGE), %rdx
movq %rdx, %cr4; # turn off PGE
movq %cr3, %rcx; # flush TLB
movq %rcx, %cr3;
Expand Down Expand Up @@ -112,7 +113,7 @@ ENTRY(restore_registers)
/* Flush TLB, including "global" things (vmalloc) */
movq mmu_cr4_features(%rip), %rax
movq %rax, %rdx
andq $~(1<<7), %rdx; # PGE
andq $~(X86_CR4_PGE), %rdx
movq %rdx, %cr4; # turn off PGE
movq %cr3, %rcx; # flush TLB
movq %rcx, %cr3
Expand Down

0 comments on commit 6c0a854

Please sign in to comment.