Commit b95b4e1e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

mm/page_alloc.c: unexport alloc_pages_exact_nid()

It is only called by mm/page_cgroup.c whcih cannot be modular.
Reported-by: default avatarDavid Rientjes <rientjes@google.com>
Cc: Fabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e1931811
...@@ -2970,7 +2970,6 @@ void * __meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) ...@@ -2970,7 +2970,6 @@ void * __meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask)
return NULL; return NULL;
return make_alloc_exact((unsigned long)page_address(p), order, size); 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() * free_pages_exact - release memory allocated via alloc_pages_exact()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment