Commit 41d1425b authored by Linus Torvalds's avatar Linus Torvalds

x86-64: tell sparse we're a 64-bit platform.

Otherwise sparse will complain about constants
that don't fit in "long" etc.
parent ee9e2c8a
......@@ -37,7 +37,7 @@ LDFLAGS := -m elf_x86_64
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
LDFLAGS_vmlinux := -e stext
CHECKFLAGS += -D__x86_64__=1
CHECKFLAGS += -D__x86_64__=1 -m64
cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8)
cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment