Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146057
b: refs/heads/master
c: d7285c6
h: refs/heads/master
i:
  146055: 72b218b
v: v3
  • Loading branch information
Chris Wright authored and Steven Rostedt committed Apr 24, 2009
1 parent e4cc362 commit 405d5f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 75db37d2f4c0ad9466ead57d467277d097b4105c
refs/heads/master: d7285c6b5c54397fdf112c2fb98ee43193173aa9
8 changes: 4 additions & 4 deletions trunk/arch/x86/include/asm/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

static inline void __native_flush_tlb(void)
{
write_cr3(read_cr3());
native_write_cr3(native_read_cr3());
}

static inline void __native_flush_tlb_global(void)
Expand All @@ -32,11 +32,11 @@ static inline void __native_flush_tlb_global(void)
*/
raw_local_irq_save(flags);

cr4 = read_cr4();
cr4 = native_read_cr4();
/* clear PGE */
write_cr4(cr4 & ~X86_CR4_PGE);
native_write_cr4(cr4 & ~X86_CR4_PGE);
/* write old PGE again and flush TLBs */
write_cr4(cr4);
native_write_cr4(cr4);

raw_local_irq_restore(flags);
}
Expand Down

0 comments on commit 405d5f9

Please sign in to comment.