summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-15 22:00:41 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 01:40:52 +0200
commit22bb3e9e24e08a59efcb49943609ae88b6f628d0 (patch)
tree107727a203e2fc54f2faa45eb0441e8c74f1bb6c
parentfrv: missing __clear_user() (diff)
downloadlinux-22bb3e9e24e08a59efcb49943609ae88b6f628d0.tar.xz
linux-22bb3e9e24e08a59efcb49943609ae88b6f628d0.zip
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>
-rw-r--r--arch/s390/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile
index 68441e0e74b6..143ed8e154af 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__