aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-05-07 17:11:40 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-15 07:58:18 +1000
commite64108422a2c3f605ecabf088d25509073b4cf7d (patch)
treeb6efd3de2515a4b95960290eadb2e72d47fcbfd2 /asm
parentf7fa97c15ae443e051b3dfad57e183b05e400e04 (diff)
downloadskiboot-e64108422a2c3f605ecabf088d25509073b4cf7d.zip
skiboot-e64108422a2c3f605ecabf088d25509073b4cf7d.tar.gz
skiboot-e64108422a2c3f605ecabf088d25509073b4cf7d.tar.bz2
Make relocate() return specific error as to what went wrong
Useful in debugging odd problems, such as skiboot > 1MB. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/head.S b/asm/head.S
index 01968ab..fd6e3fb 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -438,7 +438,7 @@ call_relocate:
mr %r3,%r30
bl relocate
cmpwi %r3,0
- beq 1f
+ bne 1f
mtlr %r14
blr
1: /* Fatal relocate failure */