fix broken aliasing checks for MAP_FIXED on sparc32, mips, arm and sh
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Dec 2009 20:10:44 +0000 (15:10 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 11 Dec 2009 11:44:59 +0000 (06:44 -0500)
commite77414e0aad6a1b063ba5e5750c582c75327ea6a
tree9492b584ce6a3e4f99570ce4517d7efaaff4fb93
parentbb52d6694002b9d632bb355f64daa045c6293a4e
fix broken aliasing checks for MAP_FIXED on sparc32, mips, arm and sh

We want addr - (pgoff << PAGE_SHIFT) consistently coloured...

Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/arm/mm/mmap.c
arch/mips/kernel/syscall.c
arch/sh/mm/mmap.c
arch/sparc/kernel/sys_sparc_32.c