[PATCH] uml: fix pte bit collision
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 29 Mar 2007 08:20:29 +0000 (01:20 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Mar 2007 15:22:24 +0000 (08:22 -0700)
commit602ed87ecd93a857dc687afb938d2c0f45552986
treee6c3b134ec527669419df297e2844b93dcfd5255
parentd40f6d71da81deb66c4fa54b46e22977cdb8b451
[PATCH] uml: fix pte bit collision

_PAGE_PROTNONE conflicts with the lowest bit of pgoff.  This causes all sorts
of weirdness when nonlinear mappings are used.

Took me a good half day to track this down.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Acked-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-um/pgtable-2level.h