[PATCH] kdump: Define KEXEC_NOTE_BYTES arch specific for s390x

Simon Horman horms at verge.net.au
Wed Jan 11 15:45:39 EST 2012


On Wed, Jan 11, 2012 at 12:30:12PM +0100, Michael Holzheu wrote:
> From: Michael Holzheu <holzheu at linux.vnet.ibm.com>
> 
> kdump only allocates memory for the prstatus ELF note. For s390x,
> besides of prstatus multiple ELF notes for various different register
> types are stored. Therefore the currently allocated memory is not
> sufficient. With this patch the KEXEC_NOTE_BYTES macro can be
> defined by architecture code and for s390x it is set to the correct
> size now.
> 
> Signed-off-by: Michael Holzheu <holzheu at linux.vnet.ibm.com>

This seems reasonable to me.

Reviewed-by: Simon Horman <horms at verge.net.au>



More information about the kexec mailing list