]> err.no Git - linux-2.6/blobdiff - arch/um/Makefile-x86_64
namespacecheck: automated fixes
[linux-2.6] / arch / um / Makefile-x86_64
index fe5316f0c6a55778fbda6bf7fb679c2f9a75a493..8ed362f93582e9723aaacde7325553f9de435383 100644 (file)
@@ -6,12 +6,9 @@ START := 0x60000000
 
 _extra_flags_ = -fno-builtin -m64
 
-#We #undef __x86_64__ for kernelspace, not for userspace where
-#it's needed for headers to work!
-ARCH_KERNEL_DEFINES = -U__$(SUBARCH)__
 KBUILD_CFLAGS += $(_extra_flags_)
 
-CHECKFLAGS  += -m64
+CHECKFLAGS  += -m64 -D__x86_64__
 KBUILD_AFLAGS += -m64
 LDFLAGS += -m elf_x86_64
 KBUILD_CPPFLAGS += -m64