V4L/DVB (7971): usb: unaligned
[linux-2.6/kvm.git] / include / asm-x86 / pat.h
blob88f60cc6a22737f8e45b20e36a67b27410bb5326
2 #ifndef _ASM_PAT_H
3 #define _ASM_PAT_H 1
5 #include <linux/types.h>
7 #ifdef CONFIG_X86_PAT
8 extern int pat_wc_enabled;
9 extern void validate_pat_support(struct cpuinfo_x86 *c);
10 #else
11 static const int pat_wc_enabled = 0;
12 static inline void validate_pat_support(struct cpuinfo_x86 *c) { }
13 #endif
15 extern void pat_init(void);
17 extern int reserve_memtype(u64 start, u64 end,
18 unsigned long req_type, unsigned long *ret_type);
19 extern int free_memtype(u64 start, u64 end);
21 extern void pat_disable(char *reason);
23 #endif