Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
include
/
asm
/
pat.h
diff --git
a/kernel/arch/x86/include/asm/pat.h
b/kernel/arch/x86/include/asm/pat.h
index
91bc4ba
..
ca6c228
100644
(file)
--- a/
kernel/arch/x86/include/asm/pat.h
+++ b/
kernel/arch/x86/include/asm/pat.h
@@
-4,14
+4,9
@@
#include <linux/types.h>
#include <asm/pgtable_types.h>
#include <linux/types.h>
#include <asm/pgtable_types.h>
-#ifdef CONFIG_X86_PAT
-extern int pat_enabled;
-#else
-static const int pat_enabled;
-#endif
-
+bool pat_enabled(void);
extern void pat_init(void);
extern void pat_init(void);
-void pat_init_cache_modes(
void
);
+void pat_init_cache_modes(
u64
);
extern int reserve_memtype(u64 start, u64 end,
enum page_cache_mode req_pcm, enum page_cache_mode *ret_pcm);
extern int reserve_memtype(u64 start, u64 end,
enum page_cache_mode req_pcm, enum page_cache_mode *ret_pcm);