diff options
author | Nathan Fontenot <nfont@austin.ibm.com> | 2008-07-03 13:25:08 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-07-03 16:58:18 +1000 |
commit | 0db9360aaa9b95b0cf67f82874809f16e68068eb (patch) | |
tree | bdcacebb8fb1b46202ce3ffab6c31e1e9a3d963c /drivers/hwmon/ibmaem.c | |
parent | 8342681d3e1f5fbd404c21b5e10f87277411f3eb (diff) |
powerpc/pseries: Update numa association of hotplug memory add for drconf memory
Update the association of a memory section with a numa node that
occurs during hotplug add of a memory section. This adds a check in
the hot_add_scn_to_nid() routine for the
ibm,dynamic-reconfiguration-memory node in the device tree. If
present the new hot_add_drconf_scn_to_nid() routine is invoked, which
can properly parse the ibm,dynamic-reconfiguration-memory node of the
device tree and make the proper numa node associations.
This also introduces the valid_hot_add_scn() routine as a helper
function for code that is common to the hot_add_scn_to_nid() and
hot_add_drconf_scn_to_nid() routines.
Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/hwmon/ibmaem.c')
0 files changed, 0 insertions, 0 deletions