Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57317
b: refs/heads/master
c: 4c73848
h: refs/heads/master
i:
  57315: 1d2783b
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 4, 2007
1 parent e7e45ac commit 3bde0d6
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e44a45ae7b7f7c7a4ebd6aa39b703bf2b97fe848
refs/heads/master: 4c738480d21a190e3d99c7ce985ab9484f373a3c
5 changes: 4 additions & 1 deletion trunk/arch/i386/kernel/cpu/mtrr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,10 +734,13 @@ void mtrr_ap_init(void)
*/
void mtrr_save_state(void)
{
if (smp_processor_id() == 0)
int cpu = get_cpu();

if (cpu == 0)
mtrr_save_fixed_ranges(NULL);
else
smp_call_function_single(0, mtrr_save_fixed_ranges, NULL, 1, 1);
put_cpu();
}

static int __init mtrr_init_finialize(void)
Expand Down

0 comments on commit 3bde0d6

Please sign in to comment.