diff options
author | Chandru <chandru@in.ibm.com> | 2009-02-06 12:07:17 +0530 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2009-02-08 20:19:46 +0900 |
commit | 0f15c4319a6f26d55ad0ddb58c1c43068091c570 (patch) | |
tree | cc43b5e7628b7ce0dbf919683b1bbdbba69c740e /kexec/kexec.c | |
parent | 988a8a9c29230233abf7772bc3dce00603f3011a (diff) |
powerpc: initialize drconf variables
The initialization of lmb_size and num_of_lmbs got removed as part of the
'kexec memory ranges dynamic allocation' patch to kexec-tools (which added
realloc_memory_ranges() code to kexec-tools). These variables are pertinent
to ppc64 systems with ibm,dynamic-reconfiguration-memory node in device-tree,
i.e systems with /proc/device-tree/ibm,dynamic-reconfiguration-memory. The
following patch adds code to initialize the variables back again in kexec-tools.
Without this patch kexec-tools will think that it needs to save only the memory
represented in memory@ nodes and will skip the memory in
/proc/device-tree/ibm,dynamic-reconfiguration-memory node of the device-tree.
Signed-off-by: Chandru S <chandru@linux.vnet.ibm.com>
Reviewed-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions