aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-05-14 02:51:54 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-05-15 10:49:01 -0400
commit654ac05801ae806661c8fdeb3b5c420a31cbc5b1 (patch)
tree558e452d83b9c02b5b0b9ab86eb5024c4f0ec9f5
parent7d9d55e449089df8463bca2045d702ae6cda64a2 (diff)
x86, mtrr: remove mtrr MSRs double declaration
Removed MTRR MSR from mtrr/mtrr.h as these are already declared in msr-index.h and nobody is using them: MTRRfix16K_A0000_MSR MTRRfix4K_C8000_MSR MTRRfix4K_D0000_MSR MTRRfix4K_D8000_MSR MTRRfix4K_E0000_MSR MTRRfix4K_E8000_MSR MTRRfix4K_F0000_MSR MTRRfix4K_F8000_MSR 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>
-rw-r--r--arch/x86/kernel/cpu/mtrr/mtrr.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/mtrr.h b/arch/x86/kernel/cpu/mtrr/mtrr.h
index 712b60524e63..5053793f9124 100644
--- a/arch/x86/kernel/cpu/mtrr/mtrr.h
+++ b/arch/x86/kernel/cpu/mtrr/mtrr.h
@@ -7,15 +7,7 @@
7 7
8#define MTRRdefType_MSR 0x2ff 8#define MTRRdefType_MSR 0x2ff
9 9
10#define MTRRfix16K_A0000_MSR 0x259
11#define MTRRfix4K_C0000_MSR 0x268 10#define MTRRfix4K_C0000_MSR 0x268
12#define MTRRfix4K_C8000_MSR 0x269
13#define MTRRfix4K_D0000_MSR 0x26a
14#define MTRRfix4K_D8000_MSR 0x26b
15#define MTRRfix4K_E0000_MSR 0x26c
16#define MTRRfix4K_E8000_MSR 0x26d
17#define MTRRfix4K_F0000_MSR 0x26e
18#define MTRRfix4K_F8000_MSR 0x26f
19 11
20#define MTRR_CHANGE_MASK_FIXED 0x01 12#define MTRR_CHANGE_MASK_FIXED 0x01
21#define MTRR_CHANGE_MASK_VARIABLE 0x02 13#define MTRR_CHANGE_MASK_VARIABLE 0x02