[PATCH 1/2] Make dtstruct variable to be 8 byte aligned

Simon Horman horms at verge.net.au
Thu Aug 13 09:25:47 EST 2009


On Mon, Aug 10, 2009 at 07:43:51PM +0530, M. Mohan Kumar wrote:
> [PATCH 1/2] Make dtstruct variable to be 8 byte aligned
> 
> kexec is creating a version 3 device tree to be backwards compatible. This
> version of the struct has 8-byte alignment for properties whose value is 8 or
> more bytes. As the code directly checks the pointer when deciding to add the
> alignment word, the struct memory must start on an 8 byte boundary. Force the
> dtstruct variable to be always 8 bytes aligned.
> 
> Signed-off-by: M. Mohan Kumar <mohan at in.ibm.com>

Thanks, applied.


More information about the Linuxppc-dev mailing list