x86, NUMA: make srat.c 32bit safe
authorTejun Heo <tj@kernel.org>
Mon, 2 May 2011 12:18:52 +0000 (14:18 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 2 May 2011 12:18:52 +0000 (14:18 +0200)
commiteca9ad313293c41021bfcf23e985a14f6991a121
treec3c86f875d2ca9b6d406e4c3dc664f2cee6801f5
parent7b2600f8ee0536bb738f3387cf2c30e8e334e149
x86, NUMA: make srat.c 32bit safe

Make srat.c 32bit safe by removing the assumption that unsigned long
is 64bit.

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/mm/srat.c