summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-08-07 03:05:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-07 05:01:15 +0400
commitb95b4e1ed92a203f4bdfc55f53d6e9c2773e3b6d (patch)
tree9c0e33bac6674b75983b15813db0b071a8e3c775 /mm
parente19318116048d5fbdb8d230d6d37625834b503cd (diff)
downloadlinux-b95b4e1ed92a203f4bdfc55f53d6e9c2773e3b6d.tar.xz
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()