diff options
Diffstat (limited to 'mm/nommu.c')
-rw-r--r-- | mm/nommu.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index 2d131b97a851..fc184f597d59 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -237,12 +237,16 @@ void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot) | |||
237 | } | 237 | } |
238 | EXPORT_SYMBOL(__vmalloc); | 238 | EXPORT_SYMBOL(__vmalloc); |
239 | 239 | ||
240 | void *__vmalloc_node_flags(unsigned long size, int node, gfp_t flags) | ||
241 | { | ||
242 | return __vmalloc(size, flags, PAGE_KERNEL); | ||
243 | } | ||
244 | |||
240 | void *vmalloc_user(unsigned long size) | 245 | void *vmalloc_user(unsigned long size) |
241 | { | 246 | { |
242 | void *ret; | 247 | void *ret; |
243 | 248 | ||
244 | ret = __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, | 249 | ret = __vmalloc(size, GFP_KERNEL | __GFP_ZERO, PAGE_KERNEL); |
245 | PAGE_KERNEL); | ||
246 | if (ret) { | 250 | if (ret) { |
247 | struct vm_area_struct *vma; | 251 | struct vm_area_struct *vma; |
248 | 252 | ||