From: viro@ZenIV.linux.org.uk Date: Wed, 7 Sep 2005 22:28:32 +0000 (+0100) Subject: [PATCH] CHECKFLAGS on ppc64 got broken X-Git-Tag: v2.6.14-rc1~531 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3352ae5de4945242040d23e16b674d17ddc7ce15;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Linus Torvalds --- 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)