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-Url: https://git.stricted.de/?a=commitdiff_plain;h=3352ae5de4945242040d23e16b674d17ddc7ce15;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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)