From fec86226b205cacd1ec2c69eca45dbae1c89c69e Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 21 Aug 2024 12:54:47 +0200 Subject: libpayload/x86: Fix assembly for clang Change-Id: I81252dc2f89b3b3da0bb9a2388a041b600920b3f Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/84009 Reviewed-by: Nico Huber Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- payloads/libpayload/arch/x86/exception_asm.S | 4 ++-- payloads/libpayload/arch/x86/exception_asm_64.S | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'payloads/libpayload/arch/x86') diff --git a/payloads/libpayload/arch/x86/exception_asm.S b/payloads/libpayload/arch/x86/exception_asm.S index b3395d0e4b..042cf04523 100644 --- a/payloads/libpayload/arch/x86/exception_asm.S +++ b/payloads/libpayload/arch/x86/exception_asm.S @@ -71,7 +71,7 @@ exception_stub_\num: .macro user_defined_stubs from, to stub \from .if \to-\from - user_defined_stubs %(from+1),\to + user_defined_stubs %(\from+1),\to .endif .endm @@ -231,7 +231,7 @@ gdt_ptr: .macro user_defined_gates from, to interrupt_gate exception_stub_\from .if \to-\from - user_defined_gates %(from+1),\to + user_defined_gates %(\from+1),\to .endif .endm diff --git a/payloads/libpayload/arch/x86/exception_asm_64.S b/payloads/libpayload/arch/x86/exception_asm_64.S index 6d91b937ac..0c1c536b50 100644 --- a/payloads/libpayload/arch/x86/exception_asm_64.S +++ b/payloads/libpayload/arch/x86/exception_asm_64.S @@ -71,7 +71,7 @@ exception_stub_\num: .macro user_defined_stubs from, to stub \from .if \to-\from - user_defined_stubs %(from+1),\to + user_defined_stubs %(\from+1),\to .endif .endm @@ -277,7 +277,7 @@ gdt_ptr: .macro user_defined_gates from, to interrupt_gate exception_stub_\from .if \to-\from - user_defined_gates %(from+1),\to + user_defined_gates %(\from+1),\to .endif .endm -- cgit v1.2.3