summaryrefslogtreecommitdiff
path: root/purgatory
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2013-03-15 13:46:32 +0100
committerSimon Horman <horms@verge.net.au>2013-03-15 21:07:10 +0100
commitb2dc4263d7e2f1165479d816dcd4f3ce4e900766 (patch)
treeb35e2b081fc49c93b7906c2c7481b5382e9ae19b /purgatory
parent56af4f566a637b8dd78a8d4ea8624e3d27645e6e (diff)
downloadkexec-tools-b2dc4263d7e2f1165479d816dcd4f3ce4e900766.tar.gz
s390: Replace clgfi with cghi
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. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r--purgatory/arch/s390/setup-s390.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/purgatory/arch/s390/setup-s390.S b/purgatory/arch/s390/setup-s390.S
index db78735..215478a 100644
--- a/purgatory/arch/s390/setup-s390.S
+++ b/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