kvm tools: Fix E820 map on x86-64

We must not define '-D__x86_64__' for all the code because the BIOS emulation
code is actually real mode 16-bite code. This fixes E820 map regression on
x86-64 caused by commit e227ea5 ("kvm tools: Fix compilation on x86_64").

Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Pekka Enberg
2015-06-01 16:39:41 +01:00
committed by Will Deacon
parent 8273302c5b
commit 4e6936576b
+1 -1
View File
@@ -38,7 +38,7 @@ ifeq ($(uname_M),i386)
DEFINES += -DCONFIG_X86_32
endif
ifeq ($(uname_M),x86_64)
DEFINES += -DCONFIG_X86_64 -D__x86_64__
DEFINES += -DCONFIG_X86_64
endif
DEFINES += -D_FILE_OFFSET_BITS=64