diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-12-05 19:40:30 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-12-20 11:54:15 +1100 |
commit | 05cfe0d6a7cc998173319abb608e48ed5c49204e (patch) | |
tree | c22732a4cdddb319d0a1ee4290122e7b974f76f6 | |
parent | e44f3bebeb00cf22885b994f3da5494e16d7e8c9 (diff) | |
download | skiboot-05cfe0d6a7cc998173319abb608e48ed5c49204e.zip skiboot-05cfe0d6a7cc998173319abb608e48ed5c49204e.tar.gz skiboot-05cfe0d6a7cc998173319abb608e48ed5c49204e.tar.bz2 |
Stop using 3-operand cmp[l][i] for latest binutils
Since a5721ba270, binutils does not support 3-operand cmp[l][i].
This adds (previously optional) parameter L.
Hre is the binutils commit:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=a5721ba270ddf860e0e5a45bba456214e8eac2be;hp=b82317dd347991288e4cca4772e951c672fca8cc
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | asm/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -523,7 +523,7 @@ enter_pm_state: std %r1,CPUTHREAD_SAVE_R1(%r13) /* Winkle or nap ? */ - cmpli %cr0,%r3,0 + cmpli %cr0,0,%r3,0 bne 1f /* nap sequence */ @@ -739,7 +739,7 @@ enter_nap: std %r0,0(%r1) ptesync ld %r0,0(%r1) -1: cmp %cr0,%r0,%r0 +1: cmp %cr0,0,%r0,%r0 bne 1b nap b . |