From: Al Viro Date: Mon, 30 Nov 2009 21:52:36 +0000 (-0500) Subject: Kill ancient crap in s390 compat mmap X-Git-Tag: v2.6.33-rc1~320^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=570dcf2c15463842e384eb597a87c1e39bead99b;p=pandora-kernel.git Kill ancient crap in s390 compat mmap We've had TASK_SIZE set to 1<<31 for 31bit tasks since May 2004. Before that old32_mmap() had to deal with do_mmap_pgoff() giving it an address out of range. It had tried to do that by checking return value and doing do_munmap() (at wrong address, BTW). IOW, that code had been dead for 5.5 years (and bogus - for 8). Kill. Acked-by: Hugh Dickins Signed-off-by: Al Viro --- Reading git-diff-tree failed