x86/mm/numa: use setup_nr_node_ids() instead of opencoding.
authorCody P Schafer <cody@linux.vnet.ibm.com>
Mon, 29 Apr 2013 22:08:02 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:36 +0000 (15:54 -0700)
commitd2ad351e36e333c6e1a474b2c5d635828f53a173
tree3faf1b8d930e752b1c9e36c4cb4c0c5044c9c820
parentf9872caf07c1c774034b8bddde7d4a3a7f4a6484
x86/mm/numa: use setup_nr_node_ids() instead of opencoding.

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/numa.c