aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/pgtable.h')
-rw-r--r--include/asm-x86/pgtable.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h
index b8a08bd7bd48..a496d6335d3b 100644
--- a/include/asm-x86/pgtable.h
+++ b/include/asm-x86/pgtable.h
@@ -288,6 +288,15 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
288 288
289#define canon_pgprot(p) __pgprot(pgprot_val(p) & __supported_pte_mask) 289#define canon_pgprot(p) __pgprot(pgprot_val(p) & __supported_pte_mask)
290 290
291#ifndef __ASSEMBLY__
292#define __HAVE_PHYS_MEM_ACCESS_PROT
293struct file;
294pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
295 unsigned long size, pgprot_t vma_prot);
296int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn,
297 unsigned long size, pgprot_t *vma_prot);
298#endif
299
291#ifdef CONFIG_PARAVIRT 300#ifdef CONFIG_PARAVIRT
292#include <asm/paravirt.h> 301#include <asm/paravirt.h>
293#else /* !CONFIG_PARAVIRT */ 302#else /* !CONFIG_PARAVIRT */