aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mtrr.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel.send@gmail.com>2008-03-24 19:02:01 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:20 -0400
commit35605a1027ac630f85a1b95684f7e86b82498cd6 (patch)
treec6cd011599b1c86bbbfb81a19f785520036ea844 /include/asm-x86/mtrr.h
parent52783fa8d6b847857fdd86df418e09c026d816f5 (diff)
x86: enable PAT for amd k8 and fam10h
make known_pat_cpu to think amd k8 and fam10h is ok too. also make tom2 below to be WRBACK Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/mtrr.h')
-rw-r--r--include/asm-x86/mtrr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/mtrr.h b/include/asm-x86/mtrr.h
index ee172296e056..d3d26625aeaf 100644
--- a/include/asm-x86/mtrr.h
+++ b/include/asm-x86/mtrr.h
@@ -99,6 +99,7 @@ extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi);
99extern void mtrr_ap_init(void); 99extern void mtrr_ap_init(void);
100extern void mtrr_bp_init(void); 100extern void mtrr_bp_init(void);
101extern int mtrr_trim_uncached_memory(unsigned long end_pfn); 101extern int mtrr_trim_uncached_memory(unsigned long end_pfn);
102extern int amd_special_default_mtrr(void);
102# else 103# else
103static inline u8 mtrr_type_lookup(u64 addr, u64 end) 104static inline u8 mtrr_type_lookup(u64 addr, u64 end)
104{ 105{