]> err.no Git - linux-2.6/commit
x86: fix nodemap_size according to nodeid bits
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Wed, 30 Jan 2008 12:34:12 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:12 +0000 (13:34 +0100)
commitafadcd788f37bfa62d92662e54a720c26c91becf
tree077515fe2b5a90351b035ad3769093f5280fc661
parent9198715763e8d0fd7fb7578c07916a5313e28b9d
x86: fix nodemap_size according to nodeid bits

memnode.map is s16 array because of nodeid is 16 bit now.

so need to increase the nodemap_size according to that bits.

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/numa_64.c