diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-05-08 14:40:28 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-05-08 14:40:28 +1000 |
commit | d55194c5d9ada77eee2c9a69814708304f34d334 (patch) | |
tree | 62f069d1d01b482ad19bf17585ae46751ab701f5 /asm | |
parent | a805a4c438acee585c40c4a1e9be989600a1f67d (diff) | |
download | skiboot-d55194c5d9ada77eee2c9a69814708304f34d334.zip skiboot-d55194c5d9ada77eee2c9a69814708304f34d334.tar.gz skiboot-d55194c5d9ada77eee2c9a69814708304f34d334.tar.bz2 |
head.S: store LR rather than CTR when trying to store LR
Long existing typo of r5 rather than r6, meaning we were storing CTR
instead of LR.
Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r-- | asm/head.S | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ _exception: stw %r3,STACK_CR(%r1) stw %r4,STACK_XER(%r1) std %r5,STACK_CTR(%r1) - std %r5,STACK_LR(%r1) + std %r6,STACK_LR(%r1) mfspr %r3,SPR_SRR0 mfspr %r4,SPR_SRR1 mfspr %r5,SPR_HSRR0 |