[PATCH] uml: correct removal of pte_mkexec
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 11 Oct 2006 08:21:32 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:20 +0000 (11:14 -0700)
commit21c935e5298a3bc4f16cdff7ce3b1efab92b995e
tree63f337847f0ac7037ab157c1858626ae7ba7ca5b
parent1875a48fed4239769bacb039175a52e42b0ebd71
[PATCH] uml: correct removal of pte_mkexec

Correct commit 5906e4171ad61ce68de95e51b773146707671f80 - this makes more
sense: we turn pte_mkexec + pte_wrprotect to pte_mkread.  However, due to a
bug in pte_mkread, it does the exact same thing as pte_mkwrite, so this patch
improves the code but does not change anything in practice.  The pte_mkread
bug is fixed separately, as it may have big impact.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/skas/mmu.c