Skip to content

Commit b4b1246

Browse files
xiaobo55xavpatel
authored andcommitted
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 <[email protected]> Signed-off-by: Haibo Xu <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Signed-off-by: Anup Patel <[email protected]>
1 parent c20dd9e commit b4b1246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/kvm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ else
218218
LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include
219219
endif
220220
CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \
221-
-Wno-gnu-variable-sized-type-not-at-end -MD -MP \
221+
-Wno-gnu-variable-sized-type-not-at-end -MD -MP -DCONFIG_64BIT \
222222
-fno-builtin-memcmp -fno-builtin-memcpy -fno-builtin-memset \
223223
-fno-builtin-strnlen \
224224
-fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \

0 commit comments

Comments
 (0)