[Skiboot] [PATCH 01/13] asm: Fix up assembly for clang

Joel Stanley joel at jms.id.au
Wed May 2 18:37:41 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,
                ^
Signed-off-by: Joel Stanley <joel at jms.id.au>

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