x86: handle PAT more like other CPU features
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / x86 / include / asm / pat.h
blob9709fdff6615a0ed43930551fc345a3c64f19b87
1 #ifndef _ASM_X86_PAT_H
2 #define _ASM_X86_PAT_H
4 #include <linux/types.h>
6 #ifdef CONFIG_X86_PAT
7 extern int pat_enabled;
8 #else
9 static const int pat_enabled;
10 #endif
12 extern void pat_init(void);
14 extern int reserve_memtype(u64 start, u64 end,
15 unsigned long req_type, unsigned long *ret_type);
16 extern int free_memtype(u64 start, u64 end);
18 #endif /* _ASM_X86_PAT_H */