Skip to content
Commit f9872caf authored by Cody P Schafer's avatar Cody P Schafer Committed by Linus Torvalds
Browse files

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: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7c243c71
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