Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56676
b: refs/heads/master
c: 1730438
h: refs/heads/master
v: v3
  • Loading branch information
Brian Gerst authored and Linus Torvalds committed May 21, 2007
1 parent 2035fb4 commit b479bb7
Show file tree
Hide file tree
Showing 3 changed files with 3 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: d0aff6e6f4e54f79f9c89d147d371bad384454e9
refs/heads/master: 17304383ebc1ce68a88030ac4d18ea549d9578c7
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/cpu/mtrr/cyrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static void prepare_set(void)
/* Save value of CR4 and clear Page Global Enable (bit 7) */
if ( cpu_has_pge ) {
cr4 = read_cr4();
write_cr4(cr4 & (unsigned char) ~(1 << 7));
write_cr4(cr4 & ~X86_CR4_PGE);
}

/* Disable and flush caches. Note that wbinvd flushes the TLBs as
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/cpu/mtrr/state.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void set_mtrr_prepare_save(struct set_mtrr_context *ctxt)
/* Save value of CR4 and clear Page Global Enable (bit 7) */
if ( cpu_has_pge ) {
ctxt->cr4val = read_cr4();
write_cr4(ctxt->cr4val & (unsigned char) ~(1 << 7));
write_cr4(ctxt->cr4val & ~X86_CR4_PGE);
}

/* Disable and flush caches. Note that wbinvd flushes the TLBs as
Expand Down

0 comments on commit b479bb7

Please sign in to comment.