diff options
author | Haibo Xu <haibo1.xu@intel.com> | 2024-01-22 17:58:35 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-02-26 10:14:00 +0530 |
commit | b4b12469c5c3fbd9b9f8e5070e6e47a4337b87c6 (patch) | |
tree | fc7bd8711f6593e6d5da793601b92a1962546e59 | |
parent | KVM: arm64: selftests: Split arch_timer test code (diff) | |
download | wireguard-linux-b4b12469c5c3fbd9b9f8e5070e6e47a4337b87c6.tar.xz wireguard-linux-b4b12469c5c3fbd9b9f8e5070e6e47a4337b87c6.zip |
KVM: selftests: Add CONFIG_64BIT definition for the build
Since only 64bit KVM selftests were supported on all architectures,
add the CONFIG_64BIT definition in kvm/Makefile to ensure only 64bit
definitions were available in the corresponding included files.
Suggested-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
-rw-r--r-- | tools/testing/selftests/kvm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 78960fe74480..63592045720f 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -218,7 +218,7 @@ else LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include endif CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ - -Wno-gnu-variable-sized-type-not-at-end -MD -MP \ + -Wno-gnu-variable-sized-type-not-at-end -MD -MP -DCONFIG_64BIT \ -fno-builtin-memcmp -fno-builtin-memcpy -fno-builtin-memset \ -fno-builtin-strnlen \ -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \ |