X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmm.h;h=305fd756fc4fe01ca362d70f7c420242296b4191;hb=7c617fda8c72a55a65cc5320cadb916f5981cfeb;hp=4baadd18f4ad3402f47fbd2ac919bafba519bed4;hpb=10ee08b7570dde2bac77d3f96eca2ce630a32b49;p=pandora-kernel.git diff --git a/include/linux/mm.h b/include/linux/mm.h index 4baadd18f4ad..305fd756fc4f 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -865,7 +865,8 @@ extern void pagefault_out_of_memory(void); * Flags passed to show_mem() and show_free_areas() to suppress output in * various contexts. */ -#define SHOW_MEM_FILTER_NODES (0x0001u) /* filter disallowed nodes */ +#define SHOW_MEM_FILTER_NODES (0x0001u) /* disallowed nodes */ +#define SHOW_MEM_FILTER_PAGE_COUNT (0x0002u) /* page type count */ extern void show_free_areas(unsigned int flags); extern bool skip_free_areas_node(unsigned int flags, int nid); @@ -1509,6 +1510,8 @@ int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn); int vm_insert_mixed(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn); +int vm_iomap_memory(struct vm_area_struct *vma, phys_addr_t start, unsigned long len); + struct page *follow_page(struct vm_area_struct *, unsigned long address, unsigned int foll_flags);