diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-05-14 12:06:12 +0530 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-15 07:49:00 -0700 |
commit | d9bcc01d58d18ed287091707b0b45c6ac888a11a (patch) | |
tree | e845b49eeaa85c19427dac03e9603f108e62d7d7 /arch/x86/kernel/cpu/mtrr/main.c | |
parent | 778dedae0cb76a441145f3a0c5d59fcb3ba296d5 (diff) | |
download | linux-stable-d9bcc01d58d18ed287091707b0b45c6ac888a11a.tar.gz linux-stable-d9bcc01d58d18ed287091707b0b45c6ac888a11a.tar.bz2 linux-stable-d9bcc01d58d18ed287091707b0b45c6ac888a11a.zip |
x86, mtrr: replace MTRRcap_MSR with msr-index's MSR_MTRRcap
Use standard msr-index.h's MSR declaration and no need to declare again.
[ Impact: cleanup, no object code change ]
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr/main.c')
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index 03cda01f57c7..8fc248b5aeaf 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c @@ -104,7 +104,7 @@ static void __init set_num_var_ranges(void) unsigned long config = 0, dummy; if (use_intel()) { - rdmsr(MTRRcap_MSR, config, dummy); + rdmsr(MSR_MTRRcap, config, dummy); } else if (is_cpu(AMD)) config = 2; else if (is_cpu(CYRIX) || is_cpu(CENTAUR)) |