[Skiboot] [PATCH v2 04/11] asm: Fix up assembly for clang
Joel Stanley
joel at jms.id.au
Fri May 4 12:10:29 AEST 2018
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 at gmail.com>
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
asm/head.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/asm/head.S b/asm/head.S
index 2cf4a6b28310..803fbf1a61ee 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
--
2.17.0
More information about the Skiboot
mailing list