From: viro@ZenIV.linux.org.uk Date: Fri, 9 Sep 2005 15:56:05 +0000 (+0100) Subject: [PATCH] missing CHECKFLAGS on s390 X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~39103 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d310a35a487388859432648daa2ea4fc5e51c049;p=mirror_ubuntu-zesty-kernel.git [PATCH] missing CHECKFLAGS on s390 Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 3cd8dd25c9d7..c1ea6bcb77ce 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile @@ -19,6 +19,7 @@ CFLAGS += -m31 AFLAGS += -m31 UTS_MACHINE := s390 STACK_SIZE := 8192 +CHECKFLAGS += -D__s390__ endif ifdef CONFIG_ARCH_S390X @@ -28,6 +29,7 @@ CFLAGS += -m64 AFLAGS += -m64 UTS_MACHINE := s390x STACK_SIZE := 16384 +CHECKFLAGS += -D__s390__ -D__s390x__ endif cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)