mm: remove vmalloc_user_node_flags
[linux-2.6-microblaze.git] / mm / vmalloc.c
index 9311066..410bfe2 100644 (file)
@@ -2659,26 +2659,6 @@ void *vzalloc_node(unsigned long size, int node)
 }
 EXPORT_SYMBOL(vzalloc_node);
 
-/**
- * vmalloc_user_node_flags - allocate memory for userspace on a specific node
- * @size: allocation size
- * @node: numa node
- * @flags: flags for the page level allocator
- *
- * The resulting memory area is zeroed so it can be mapped to userspace
- * without leaking data.
- *
- * Return: pointer to the allocated memory or %NULL on error
- */
-void *vmalloc_user_node_flags(unsigned long size, int node, gfp_t flags)
-{
-       return __vmalloc_node_range(size, SHMLBA,  VMALLOC_START, VMALLOC_END,
-                                   flags | __GFP_ZERO, PAGE_KERNEL,
-                                   VM_USERMAP, node,
-                                   __builtin_return_address(0));
-}
-EXPORT_SYMBOL(vmalloc_user_node_flags);
-
 /**
  * vmalloc_exec - allocate virtually contiguous, executable memory
  * @size:        allocation size