summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/arch/x86/exception_asm.S4
-rw-r--r--payloads/libpayload/arch/x86/exception_asm_64.S4
2 files changed, 4 insertions, 4 deletions
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