diff options
Diffstat (limited to 'arch/x86/include/asm/pat.h')
| -rw-r--r-- | arch/x86/include/asm/pat.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/include/asm/pat.h b/arch/x86/include/asm/pat.h index b8493b3b9890..b0e70056838e 100644 --- a/arch/x86/include/asm/pat.h +++ b/arch/x86/include/asm/pat.h | |||
| @@ -5,10 +5,8 @@ | |||
| 5 | 5 | ||
| 6 | #ifdef CONFIG_X86_PAT | 6 | #ifdef CONFIG_X86_PAT |
| 7 | extern int pat_enabled; | 7 | extern int pat_enabled; |
| 8 | extern void validate_pat_support(struct cpuinfo_x86 *c); | ||
| 9 | #else | 8 | #else |
| 10 | static const int pat_enabled; | 9 | static const int pat_enabled; |
| 11 | static inline void validate_pat_support(struct cpuinfo_x86 *c) { } | ||
| 12 | #endif | 10 | #endif |
| 13 | 11 | ||
| 14 | extern void pat_init(void); | 12 | extern void pat_init(void); |
| @@ -17,6 +15,7 @@ extern int reserve_memtype(u64 start, u64 end, | |||
| 17 | unsigned long req_type, unsigned long *ret_type); | 15 | unsigned long req_type, unsigned long *ret_type); |
| 18 | extern int free_memtype(u64 start, u64 end); | 16 | extern int free_memtype(u64 start, u64 end); |
| 19 | 17 | ||
| 20 | extern void pat_disable(char *reason); | 18 | extern int kernel_map_sync_memtype(u64 base, unsigned long size, |
| 19 | unsigned long flag); | ||
| 21 | 20 | ||
| 22 | #endif /* _ASM_X86_PAT_H */ | 21 | #endif /* _ASM_X86_PAT_H */ |
