]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] missing CHECKFLAGS on s390
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>
Fri, 9 Sep 2005 15:56:05 +0000 (16:56 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 17:31:58 +0000 (10:31 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/s390/Makefile

index 3cd8dd25c9d736600f51f319c611962b6923189a..c1ea6bcb77ce82cdf88a7aa4c2f3bf50b581a793 100644 (file)
@@ -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)