summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-15 21:00:41 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-15 16:40:52 -0700
commit22bb3e9e24e08a59efcb49943609ae88b6f628d0 (patch)
tree107727a203e2fc54f2faa45eb0441e8c74f1bb6c /arch
parentb4a06918c2534fc9655424e75c879bf523aa5b06 (diff)
downloadop-kernel-dev-22bb3e9e24e08a59efcb49943609ae88b6f628d0.zip
op-kernel-dev-22bb3e9e24e08a59efcb49943609ae88b6f628d0.tar.gz
pass -msize-long to sparse on s390
s390 is the only 32bit with unsigned long for size_t (usual for those is unsigned int). Tell sparse... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile
index 68441e0..143ed8e 100644
--- a/arch/s390/Makefile
+++ b/arch/s390/Makefile
@@ -19,7 +19,7 @@ CFLAGS += -m31
AFLAGS += -m31
UTS_MACHINE := s390
STACK_SIZE := 8192
-CHECKFLAGS += -D__s390__
+CHECKFLAGS += -D__s390__ -msize-long
else
LDFLAGS := -m elf64_s390
MODFLAGS += -fpic -D__PIC__
OpenPOWER on IntegriCloud