summaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-05-04 11:40:29 +0930
committerStewart Smith <stewart@linux.ibm.com>2018-05-04 03:25:04 -0500
commit4640e703d3079f60b0230175a150fb9c391c0095 (patch)
tree0038830c7a9072635d6619cf1b94eb823e0f5631 /asm
parent777de50ec25658039bc962b1a795227ac74ad0b1 (diff)
downloadtalos-skiboot-4640e703d3079f60b0230175a150fb9c391c0095.tar.gz
talos-skiboot-4640e703d3079f60b0230175a150fb9c391c0095.zip
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.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/head.S b/asm/head.S
index 2cf4a6b2..803fbf1a 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -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
OpenPOWER on IntegriCloud