]> 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)
commit8d03f3e897e0fe82be4a7eb91c65710fdb480b98
tree93975fd0431f856f7285ad90a13cc4ea73f740d3
parentb03387562038703c2524db50767be20d90bab7ce
[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