[PATCH] powerpc: initialize drconf variables

Simon Horman horms at verge.net.au
Sun Feb 8 06:20:25 EST 2009

On Fri, Feb 06, 2009 at 12:07:17PM +0530, Chandru wrote:
> 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.

Thanks, applied.

Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en

More information about the kexec mailing list