]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/internal.h
mm: introduce fault_env
[mirror_ubuntu-artful-kernel.git] / mm / internal.h
index e1531758122bce5896776a62917d9aa71c71dd05..9b6a6c43ac391d5548d7a6e62eca30f4aadca875 100644 (file)
@@ -36,9 +36,7 @@
 /* Do not use these with a slab allocator */
 #define GFP_SLAB_BUG_MASK (__GFP_DMA32|__GFP_HIGHMEM|~__GFP_BITS_MASK)
 
-extern int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
-                       unsigned long address, pte_t *page_table, pmd_t *pmd,
-                       unsigned int flags, pte_t orig_pte);
+int do_swap_page(struct fault_env *fe, pte_t orig_pte);
 
 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
                unsigned long floor, unsigned long ceiling);