Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232920
b: refs/heads/master
c: f744854
h: refs/heads/master
v: v3
  • Loading branch information
Suresh Siddha authored and Ingo Molnar committed Feb 3, 2011
1 parent 6df48b6 commit 31662c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: f12d3d04e8f6223276abb068c5d72852174b8c31
refs/heads/master: f7448548a9f32db38f243ccd4271617758ddfe2c
10 changes: 9 additions & 1 deletion trunk/arch/x86/kernel/cpu/mtrr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,13 +793,21 @@ void set_mtrr_aps_delayed_init(void)
}

/*
* MTRR initialization for all AP's
* Delayed MTRR initialization for all AP's
*/
void mtrr_aps_init(void)
{
if (!use_intel())
return;

/*
* Check if someone has requested the delay of AP MTRR initialization,
* by doing set_mtrr_aps_delayed_init(), prior to this point. If not,
* then we are done.
*/
if (!mtrr_aps_delayed_init)
return;

set_mtrr(~0U, 0, 0, 0);
mtrr_aps_delayed_init = false;
}
Expand Down

0 comments on commit 31662c2

Please sign in to comment.