diff options
author | Joel Stanley <joel@jms.id.au> | 2018-05-04 11:40:29 +0930 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-05-04 03:25:04 -0500 |
commit | 4640e703d3079f60b0230175a150fb9c391c0095 (patch) | |
tree | 0038830c7a9072635d6619cf1b94eb823e0f5631 /asm | |
parent | 777de50ec25658039bc962b1a795227ac74ad0b1 (diff) | |
download | skiboot-4640e703d3079f60b0230175a150fb9c391c0095.zip skiboot-4640e703d3079f60b0230175a150fb9c391c0095.tar.gz skiboot-4640e703d3079f60b0230175a150fb9c391c0095.tar.bz2 |
asm: Fix up assembly for clang
asm/head.S:766:17: error: unknown operand
or %r0,%r4,%r5,
^
asm/head.S:800:17: error: unknown operand
or %r0,%r4,%r5,
^
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r-- | asm/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -763,7 +763,7 @@ init_shared_sprs: li %r0,1 sldi %r4,%r0,(63-13) sldi %r5,%r0,(63-19) - or %r0,%r4,%r5, + or %r0,%r4,%r5 andc %r3,%r3,%r0 sync mtspr SPR_HID0,%r3 @@ -797,7 +797,7 @@ init_shared_sprs: li %r0,1 sldi %r4,%r0,(63-5) sldi %r5,%r0,(63-4) - or %r0,%r4,%r5, + or %r0,%r4,%r5 andc %r3,%r3,%r0 sync mtspr SPR_HID0,%r3 |