Skip to content

Commit 6aea9e0

Browse files
MaskRayMarc Zyngier
authored andcommitted
KVM: arm64: Delete duplicated label in invalid_vector
SYM_CODE_START defines \label , so it is redundant to define \label again. A redefinition at the same place is accepted by GNU as (https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=159fbb6088f17a341bcaaac960623cab881b4981) but rejected by the clang integrated assembler. Fixes: 617a2f3 ("arm64: kvm: Annotate assembly using modern annoations") Signed-off-by: Fangrui Song <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Tested-by: Nick Desaulniers <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Link: ClangBuiltLinux#988 Link: https://lore.kernel.org/r/[email protected]
1 parent 446c076 commit 6aea9e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/kvm/hyp/hyp-entry.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ SYM_CODE_END(__hyp_panic)
198198
.macro invalid_vector label, target = __hyp_panic
199199
.align 2
200200
SYM_CODE_START(\label)
201-
\label:
202201
b \target
203202
SYM_CODE_END(\label)
204203
.endm

0 commit comments

Comments
 (0)