Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53903
b: refs/heads/master
c: 25c16b9
h: refs/heads/master
i:
  53901: 16302f7
  53899: ea58ab1
  53895: 1ac93ce
  53887: 44251c6
v: v3
  • Loading branch information
Randy Dunlap authored and Andi Kleen committed May 2, 2007
1 parent 5b69a1a commit 1ec9c50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 70ae77f497a57b3ef6b0987b6310327264517cb0
refs/heads/master: 25c16b992c32db4bc7e085b763abd866a505ca72
7 changes: 4 additions & 3 deletions trunk/arch/i386/kernel/cpu/mtrr/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static struct mtrr_state mtrr_state = {};
#undef MODULE_PARAM_PREFIX
#define MODULE_PARAM_PREFIX "mtrr."

static __initdata int mtrr_show;
static int mtrr_show;
module_param_named(show, mtrr_show, bool, 0);

/* Get the MSR pair relating to a var range */
Expand Down Expand Up @@ -68,12 +68,13 @@ void mtrr_save_fixed_ranges(void *info)
get_fixed_ranges(mtrr_state.fixed_ranges);
}

static void __init print_fixed(unsigned base, unsigned step, const mtrr_type*types)
static void __cpuinit print_fixed(unsigned base, unsigned step, const mtrr_type*types)
{
unsigned i;

for (i = 0; i < 8; ++i, ++types, base += step)
printk(KERN_INFO "MTRR %05X-%05X %s\n", base, base + step - 1, mtrr_attrib_to_str(*types));
printk(KERN_INFO "MTRR %05X-%05X %s\n",
base, base + step - 1, mtrr_attrib_to_str(*types));
}

/* Grab all of the MTRR state for this CPU into *state */
Expand Down

0 comments on commit 1ec9c50

Please sign in to comment.