summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/Makefile
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-07 23:28:32 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 17:17:34 -0700
commit3352ae5de4945242040d23e16b674d17ddc7ce15 (patch)
tree9312c11a40e8e448f195d54c17b58af2c2543329 /arch/ppc64/Makefile
parent147a67f0107effad2b454b786228c97e429f654e (diff)
[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 'arch/ppc64/Makefile')
-rw-r--r--arch/ppc64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/Makefile b/arch/ppc64/Makefile
index 6350cce82ef..8189953a372 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)