Commit 5f443e42 authored by Bill Wendling's avatar Bill Wendling Committed by Paolo Bonzini
Browse files

selftests: kvm: remove reassignment of non-absolute variables



Clang's integrated assembler does not allow symbols with non-absolute
values to be reassigned. Modify the interrupt entry loop macro to be
compatible with IAS by using a label and an offset.

Cc: Jian Cai <caij2003@gmail.com>
Signed-off-by: default avatarBill Wendling <morbo@google.com>
References: https://lore.kernel.org/lkml/20200714233024.1789985-1-caij2003@gmail.com/


Message-Id: <20201211012317.3722214-1-morbo@google.com>
Reviewed-by: default avatarJim Mattson <jmattson@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 70f094f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,9 +54,9 @@ idt_handlers:
	.align 8

	/* Fetch current address and append it to idt_handlers. */
	current_handler = .
666 :
.pushsection .rodata
.quad current_handler
	.quad 666b
.popsection

	.if ! \has_error