summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/idt.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/idt.S')
-rw-r--r--src/arch/x86/idt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/idt.S b/src/arch/x86/idt.S
index 6807056fe317..d763b9e3fed5 100644
--- a/src/arch/x86/idt.S
+++ b/src/arch/x86/idt.S
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
.section ".text._idt", "ax", @progbits
-#ifdef __x86_64__
+#if ENV_X86_64
.code64
#else
.code32
@@ -109,7 +109,7 @@ vec19:
.global int_hand
int_hand:
-#ifdef __x86_64__
+#if ENV_X86_64
/* At this point, on x86-64, on the stack there is:
* 0(%rsp) vector
* 8(%rsp) error code