From: Andrew Morton Date: Wed, 6 Aug 2014 23:05:01 +0000 (-0700) Subject: mm/page_alloc.c: unexport alloc_pages_exact_nid() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b95b4e1ed92a203f4bdfc55f53d6e9c2773e3b6d;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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()