History

mm: remove the pgprot argument to __vmalloc

The pgprot argument to __vmalloc is always PAGE_KERNEL now, so remove it.

Christoph Hellwig committed 6 years ago

Commit 88dca4c1 parent d28ff9929 files · +47 −59Browse files

Showing the changes to include/linux (1 of 29 files). Show all

Unified · Split

include/linux/vmalloc.h+1−1
@@ -110,7 +110,7 @@ extern void *vmalloc_user_node_flags(unsigned long size, int node, gfp_t flags); · 109 unmodified lines
110110 extern void *vmalloc_exec(unsigned long size);
111111 extern void *vmalloc_32(unsigned long size);
112112 extern void *vmalloc_32_user(unsigned long size);
113−extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
113+extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
114114 extern void *__vmalloc_node_range(unsigned long size, unsigned long align,
115115 unsigned long start, unsigned long end, gfp_t gfp_mask,
116116 pgprot_t prot, unsigned long vm_flags, int node,