x86-32, NUMA: implement temporary NUMA init shims
authorTejun Heo <tj@kernel.org>
Mon, 2 May 2011 12:18:53 +0000 (14:18 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 2 May 2011 12:18:53 +0000 (14:18 +0200)
commitb0d310801a4c1f95b44357e4ebc22a9903e3bf3d
tree4a61939f1254967b88cfee59e6c3b450f70368c7
parente6df595b37c7c033ef7400b4fdd382a2dc4f4131
x86-32, NUMA: implement temporary NUMA init shims

To help transition to common NUMA init, implement temporary 32bit
shims for numa_add_memblk() and numa_set_distance().
numa_add_memblk() registers the memblk and adjusts
node_start/end_pfn[].  numa_set_distance() is noop.

These shims will allow using 64bit NUMA init functions on 32bit and
gradual transition to common NUMA init path.

For detailed description, please read description of commits which
make use of the shim functions.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
arch/x86/include/asm/numa.h
arch/x86/include/asm/numa_64.h
arch/x86/mm/numa_32.c