summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pat.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-01-23 03:17:05 +0300
committerH. Peter Anvin <hpa@linux.intel.com>2009-01-24 05:07:45 +0300
commit75a048119e76540d73132cfc8e0fa0c0a8bb6c83 (patch)
tree2a4d88809efae435e6fe8e33e630f92d76742c9d /arch/x86/include/asm/pat.h
parentb1882e68d17a93b523dce09c3a181319aace2f0e (diff)
downloadlinux-75a048119e76540d73132cfc8e0fa0c0a8bb6c83.tar.xz
x86: handle PAT more like other CPU features
Impact: Cleanup When PAT was originally introduced, it was handled specially for a few reasons: - PAT bugs are hard to track down, so we wanted to maintain a whitelist of CPUs. - The i386 and x86-64 CPUID code was not yet unified. Both of these are now obsolete, so handle PAT like any other features, including ordinary feature blacklisting due to known bugs. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/pat.h')
-rw-r--r--arch/x86/include/asm/pat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/pat.h b/arch/x86/include/asm/pat.h
index b8493b3b9890..9709fdff6615 100644
--- a/arch/x86/include/asm/pat.h
+++ b/arch/x86/include/asm/pat.h
@@ -5,10 +5,8 @@
#ifdef CONFIG_X86_PAT
extern int pat_enabled;
-extern void validate_pat_support(struct cpuinfo_x86 *c);
#else
static const int pat_enabled;
-static inline void validate_pat_support(struct cpuinfo_x86 *c) { }
#endif
extern void pat_init(void);
@@ -17,6 +15,4 @@ extern int reserve_memtype(u64 start, u64 end,
unsigned long req_type, unsigned long *ret_type);
extern int free_memtype(u64 start, u64 end);
-extern void pat_disable(char *reason);
-
#endif /* _ASM_X86_PAT_H */