summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton2014-08-07 01:05:01 +0200
committerLinus Torvalds2014-08-07 03:01:15 +0200
commitb95b4e1ed92a203f4bdfc55f53d6e9c2773e3b6d (patch)
tree9c0e33bac6674b75983b15813db0b071a8e3c775 /mm
parentmm/page_alloc.c: add __meminit to alloc_pages_exact_nid() (diff)
downloadkernel-qcow2-linux-b95b4e1ed92a203f4bdfc55f53d6e9c2773e3b6d.tar.gz
kernel-qcow2-linux-b95b4e1ed92a203f4bdfc55f53d6e9c2773e3b6d.tar.xz
kernel-qcow2-linux-b95b4e1ed92a203f4bdfc55f53d6e9c2773e3b6d.zip
mm/page_alloc.c: unexport alloc_pages_exact_nid()
It is only called by mm/page_cgroup.c whcih cannot be modular. Reported-by: David Rientjes <rientjes@google.com> Cc: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index fd4322cc096d..8c4f1b220ab9 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2970,7 +2970,6 @@ void * __meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask)
return NULL;
return make_alloc_exact((unsigned long)page_address(p), order, size);
}
-EXPORT_SYMBOL(alloc_pages_exact_nid);
/**
* free_pages_exact - release memory allocated via alloc_pages_exact()