diff options
author | Keith Mannthey <kmannth@us.ibm.com> | 2006-10-01 08:27:07 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 09:39:18 +0200 |
commit | 8c2676a5870ab15cbeea9f826266bc946fe3cc26 (patch) | |
tree | 0df06fce24312d7f2d1120d984dd7ae258cb40ef /mm | |
parent | [PATCH] hot-add-mem x86_64: memory_add_physaddr_to_nid enable (diff) | |
download | linux-8c2676a5870ab15cbeea9f826266bc946fe3cc26.tar.xz linux-8c2676a5870ab15cbeea9f826266bc946fe3cc26.zip |
[PATCH] hot-add-mem x86_64: memory_add_physaddr_to_nid node fixup
In cases where the acpi memory-add event does not containe the pxm (node)
infomation allow the driver to look up node info based on the address. The
acpi_get_node call returns -1 if it can't decode the pxm info, this causes
add_memory to panic. acpi_get_node would have to decode the resource from the
handle (a lenghty proposition). This seems to be the cleanist point to
interject the hook.
[kamezawa.hiroyu@jp.fujitsu.com: build fixes]
[y-goto@jp.fujitsu.com: build fixes]
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: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions