]> git.karo-electronics.de Git - karo-tx-linux.git/commit
page_alloc: make setup_nr_node_ids() usable for arch init code
authorCody P Schafer <cody@linux.vnet.ibm.com>
Tue, 26 Mar 2013 23:24:46 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:13 +0000 (18:29 +1100)
commit153138c0e9f0ae67d3ccd1c3a82f313bc1386bc6
tree722d4615f79aa50a5a9e6a20449b4f652a70c077
parent068f6536a583e6fa76d21fa2b0203aa01d1390d8
page_alloc: make setup_nr_node_ids() usable for arch init code

powerpc and x86 were opencoding copies of setup_nr_node_ids(), which
page_alloc provides but makes static. Make it avaliable to the archs in
linux/mm.h.

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
include/linux/mm.h
mm/page_alloc.c