Skip to content

Commit 4640e70

Browse files
shenkistewartsmith
authored andcommitted
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 <[email protected]> Signed-off-by: Joel Stanley <[email protected]> Signed-off-by: Stewart Smith <[email protected]>
1 parent 777de50 commit 4640e70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asm/head.S

+2-2
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ init_shared_sprs:
763763
li %r0,1
764764
sldi %r4,%r0,(63-13)
765765
sldi %r5,%r0,(63-19)
766-
or %r0,%r4,%r5,
766+
or %r0,%r4,%r5
767767
andc %r3,%r3,%r0
768768
sync
769769
mtspr SPR_HID0,%r3
@@ -797,7 +797,7 @@ init_shared_sprs:
797797
li %r0,1
798798
sldi %r4,%r0,(63-5)
799799
sldi %r5,%r0,(63-4)
800-
or %r0,%r4,%r5,
800+
or %r0,%r4,%r5
801801
andc %r3,%r3,%r0
802802
sync
803803
mtspr SPR_HID0,%r3

0 commit comments

Comments
 (0)