aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-04-29 17:40:21 +1000
committerOliver O'Halloran <oohall@gmail.com>2020-05-26 14:30:29 +1000
commit6327e0c158308c8b93ab01ada93753cb1b4364bf (patch)
treeb3f634dacf10c3aaddb3b3aab351667d3ad0a52f /asm
parentfbc6c882727a5e16716f169b186d5e4d1da0b8b6 (diff)
downloadskiboot-6327e0c158308c8b93ab01ada93753cb1b4364bf.zip
skiboot-6327e0c158308c8b93ab01ada93753cb1b4364bf.tar.gz
skiboot-6327e0c158308c8b93ab01ada93753cb1b4364bf.tar.bz2
opal entry: Fix LE skiboot clobbering r10 argument
Fortunately no OPAL calls seem to use 8 arguments yet. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.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 aea49d2..afe73bb 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -841,7 +841,7 @@ enter_nap:
.balign 0x10
.global opal_entry
opal_entry:
- OPAL_ENTRY_TO_SKIBOOT_ENDIAN
+ OPAL_ENTRY_TO_SKIBOOT_ENDIAN /* This clobbers r11, r12 */
/* Get our per CPU pointer in r12 to check for quiesce */
mfspr %r12,SPR_PIR