]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
pass -msize-long to sparse on s390
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 15 Jul 2007 20:00:41 +0000 (21:00 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 15 Jul 2007 23:40:52 +0000 (16:40 -0700)
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>
arch/s390/Makefile

index 68441e0e74b642d4d704e1b42b29c8307c938442..143ed8e154af8b5134eabb8a93289704f79144a7 100644 (file)
@@ -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__