[PATCH] kexec/s390: Replace clgfi with cghi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 15, 2013 at 01:46:32PM +0100, Michael Holzheu wrote:
> The clgfi instruction needs at least z9 machine level. To allow kexec-tools
> compiled also with z900, this patch replaces clgfi with the older cghi
> instruction.

Hi,

could you update the changelog to include a brief description of the
difference between the two instructions - I assume they work the same
way in the context of this change.

> Signed-off-by: Michael Holzheu <holzheu at linux.vnet.ibm.com>
> ---
>  purgatory/arch/s390/setup-s390.S |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: kexec-tools-2.0.3/purgatory/arch/s390/setup-s390.S
> ===================================================================
> --- kexec-tools-2.0.3.orig/purgatory/arch/s390/setup-s390.S
> +++ kexec-tools-2.0.3/purgatory/arch/s390/setup-s390.S
> @@ -16,7 +16,7 @@ purgatory_start:
>  	larl	%r15,lstack_end
>  	aghi	%r15,-160
>  
> -	clgfi	%r2,0
> +	cghi	%r2,0
>  	je	verify_checksums
>  
>  	brasl	%r14,purgatory
> 
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
> 



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux