summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/Makefile
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-08 00:28:32 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 02:17:34 +0200
commit3352ae5de4945242040d23e16b674d17ddc7ce15 (patch)
tree9312c11a40e8e448f195d54c17b58af2c2543329 /arch/ppc64/Makefile
parent[PATCH] bogus #if (ncr53c406) (diff)
downloadlinux-3352ae5de4945242040d23e16b674d17ddc7ce15.tar.xz
linux-3352ae5de4945242040d23e16b674d17ddc7ce15.zip
[PATCH] CHECKFLAGS on ppc64 got broken
Now that asm-powerpc/* is using ifdefs on __powerpc64__ we need to add it to CHECKFLAGS on ppc64. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--arch/ppc64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/Makefile b/arch/ppc64/Makefile
index 6350cce82efb..8189953a372c 100644
--- a/arch/ppc64/Makefile
+++ b/arch/ppc64/Makefile
@@ -49,7 +49,7 @@ NM := $(NM) --synthetic
endif
-CHECKFLAGS += -m64 -D__powerpc__
+CHECKFLAGS += -m64 -D__powerpc__ -D__powerpc64__
LDFLAGS := -m elf64ppc
LDFLAGS_vmlinux := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD)