From: Marc-André Lureau <marcandre.lur...@redhat.com> Clang doesn't support specifying segment prefixes before the instruction, and requires specifying them on the address.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- pc-bios/optionrom/kvmvapic.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pc-bios/optionrom/kvmvapic.S b/pc-bios/optionrom/kvmvapic.S index aa17a402df..9a615549e6 100644 --- a/pc-bios/optionrom/kvmvapic.S +++ b/pc-bios/optionrom/kvmvapic.S @@ -104,7 +104,7 @@ mp_get_tpr_eax: reenable_vtpr push %ecx - fs/movzbl pcr_cpu, %eax + movzbl %fs:pcr_cpu, %eax mov vcpu_shift, %ecx ; fixup shl %cl, %eax @@ -178,7 +178,7 @@ mp_set_tpr: reenable_vtpr mp_set_tpr_failed: - fs/movzbl pcr_cpu, %edx + movzbl %fs:pcr_cpu, %edx mov vcpu_shift, %ecx ; fixup shl %cl, %edx -- 2.26.2