From adcf7827bd00757cd52e87693c8bbfbe08ed6b13 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 27 Aug 2020 20:50:18 +0200 Subject: arch/x86: Use ENV_X86_64 instead of _x86_64_ Tested on Intel Sandybridge x86_64 and x86_32. Change-Id: I152483d24af0512c0ee4fbbe8931b7312e487ac6 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/44867 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/arch/x86/assembly_entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/assembly_entry.S') diff --git a/src/arch/x86/assembly_entry.S b/src/arch/x86/assembly_entry.S index 31670c29b6..6e730273f8 100644 --- a/src/arch/x86/assembly_entry.S +++ b/src/arch/x86/assembly_entry.S @@ -15,7 +15,7 @@ #define _STACK_TOP _ecar_stack #endif -#ifdef __x86_64__ +#if ENV_X86_64 .code64 #else .code32 @@ -26,7 +26,7 @@ _start: /* Migrate GDT to this text segment */ -#ifdef __x86_64__ +#if ENV_X86_64 call gdt_init64 #else call gdt_init -- cgit v1.2.3