Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
AFLAGS += -m31
UTS_MACHINE := s390
STACK_SIZE := 8192
AFLAGS += -m31
UTS_MACHINE := s390
STACK_SIZE := 8192
+CHECKFLAGS += -D__s390__
endif
ifdef CONFIG_ARCH_S390X
endif
ifdef CONFIG_ARCH_S390X
AFLAGS += -m64
UTS_MACHINE := s390x
STACK_SIZE := 16384
AFLAGS += -m64
UTS_MACHINE := s390x
STACK_SIZE := 16384
+CHECKFLAGS += -D__s390__ -D__s390x__
endif
cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)
endif
cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)