diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2017-12-01 17:47:21 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-16 13:26:28 +0100 |
commit | 514a9cb3316a08d63063a40a70f11b4318d3c06c (patch) | |
tree | bd54b88d93cb4982f546d248197c5f8cac73f5bd /arch/powerpc/platforms/pseries/hotplug-memory.c | |
parent | powerpc/mm: Separate ibm, dynamic-memory data from DT format (diff) | |
download | linux-514a9cb3316a08d63063a40a70f11b4318d3c06c.tar.xz linux-514a9cb3316a08d63063a40a70f11b4318d3c06c.zip |
powerpc/numa: Update numa code use walk_drmem_lmbs
Update code in powerpc/numa.c to use the walk_drmem_lmbs()
routine instead of parsing the device tree directly. This is
in anticipation of introducing a new ibm,dynamic-memory-v2
property with a different format. This will allow the numa code
to use a single initialization routine per-LMB irregardless of
the device tree format.
Additionally, to support additional routines in numa.c that need
to look up LMB information, an late_init routine is added to drmem.c
to allocate the array of LMB information. This LMB array will provide
per-LMB information to separate the LMB data from the device tree
format.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pseries/hotplug-memory.c')
0 files changed, 0 insertions, 0 deletions