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

[sfr@canb.auug.org.au: add missing semicolon]
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>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/mm/numa.c