x86: PAT: move track untrack pfnmap stubs to asm-generic
[deliverable/linux.git] / arch / x86 / include / asm / pgtable.h
index 2aa792bbd7e0717db0985ec7b780be14e7f29e59..875192bf72cb763273e3591ee3a81cb05d1aef6c 100644 (file)
@@ -339,12 +339,10 @@ static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
 
 #define canon_pgprot(p) __pgprot(pgprot_val(p) & __supported_pte_mask)
 
+#ifndef __ASSEMBLY__
 /* Indicate that x86 has its own track and untrack pfn vma functions */
-#define track_pfn_vma_new track_pfn_vma_new
-#define track_pfn_vma_copy track_pfn_vma_copy
-#define untrack_pfn_vma untrack_pfn_vma
+#define __HAVE_PFNMAP_TRACKING
 
-#ifndef __ASSEMBLY__
 #define __HAVE_PHYS_MEM_ACCESS_PROT
 struct file;
 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
This page took 0.024048 seconds and 5 git commands to generate.