summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2011-01-14 00:46:00 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-14 02:32:34 +0100
commite5a5623b28198aa91ea71ee5d3846757fc76bc87 (patch)
tree6fad408973a428a0ca2bdffd0c30a7c5af400ec9 /mm/vmalloc.c
parentmm: vmscan: rename lumpy_mode to reclaim_mode (diff)
downloadlinux-e5a5623b28198aa91ea71ee5d3846757fc76bc87.tar.xz
linux-e5a5623b28198aa91ea71ee5d3846757fc76bc87.zip
mm: remove unused get_vm_area_node
get_vm_area_node() is unused in the kernel and can thus be removed. Signed-off-by: David Rientjes <rientjes@google.com> Cc: Christoph Lameter <cl@linux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--mm/vmalloc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 48245af07b10..78ec9d8bc57c 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -1315,13 +1315,6 @@ struct vm_struct *get_vm_area_caller(unsigned long size, unsigned long flags,
-1, GFP_KERNEL, caller);
}
-struct vm_struct *get_vm_area_node(unsigned long size, unsigned long flags,
- int node, gfp_t gfp_mask)
-{
- return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
- node, gfp_mask, __builtin_return_address(0));
-}
-
static struct vm_struct *find_vm_area(const void *addr)
{
struct vmap_area *va;