X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=include%2Flinux%2Fvmalloc.h;h=c77efeac2425149cae7dadeff615b92acfe820e0;hb=3e9a9e256b1e1e6e8f19faf76fa9c37578ae35ee;hp=0221f852a7e1a3445a134ba319ceb073e2ae6517;hpb=449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e;p=linux-2.6-microblaze.git diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index 0221f852a7e1..c77efeac2425 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -24,6 +24,7 @@ struct notifier_block; /* in notifier.h */ #define VM_UNINITIALIZED 0x00000020 /* vm_struct is not fully initialized */ #define VM_NO_GUARD 0x00000040 /* don't add guard page */ #define VM_KASAN 0x00000080 /* has allocated kasan shadow memory */ +#define VM_MAP_PUT_PAGES 0x00000100 /* put pages and free array in vfree */ /* * VM_KASAN is used slighly differently depending on CONFIG_KASAN_VMALLOC. @@ -121,6 +122,7 @@ extern void vfree_atomic(const void *addr); extern void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot); +void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot); extern void vunmap(const void *addr); extern int remap_vmalloc_range_partial(struct vm_area_struct *vma,