]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hot-add-mem x86_64: Enable SPARSEMEM in srat.c
authorKeith Mannthey <kmannth@us.ibm.com>
Sun, 1 Oct 2006 06:27:05 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:18 +0000 (00:39 -0700)
commit71efa8fdc55e70ec6687c897a30759f0a2c2ad7e
tree93975fd0431f856f7285ad90a13cc4ea73f740d3
parentec69acbb1191df671ff8e07c8e146619a5c53f70
[PATCH] hot-add-mem x86_64: Enable SPARSEMEM in srat.c

Enable x86_64 srat.c to share code between both reserve and sparsemem based
add memory paths.  Both paths need the hot-add area node locality infomration
(nodes_add).  This code refactors the code path to allow this.

Signed-off-by: Keith Mannthey <kmannth@us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/srat.c