diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-09-29 01:58:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:04 -0700 |
commit | 5906e4171ad61ce68de95e51b773146707671f80 (patch) | |
tree | e8e2479c9fa361948d10740b7e65e4eb751ee8c0 /include | |
parent | fade5d5461b0379b27ca96faf560d855d7a0ea8b (diff) | |
download | op-kernel-dev-5906e4171ad61ce68de95e51b773146707671f80.zip op-kernel-dev-5906e4171ad61ce68de95e51b773146707671f80.tar.gz |
[PATCH] uml: remove pte_mkexec
Andi is making pte_mkexec go away, and UML had one of the last uses.
This removes the use and the definition.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-um/pgtable.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-um/pgtable.h b/include/asm-um/pgtable.h index 4862daf..188f726 100644 --- a/include/asm-um/pgtable.h +++ b/include/asm-um/pgtable.h @@ -274,12 +274,6 @@ static inline pte_t pte_mkread(pte_t pte) return(pte_mknewprot(pte)); } -static inline pte_t pte_mkexec(pte_t pte) -{ - pte_set_bits(pte, _PAGE_USER); - return(pte_mknewprot(pte)); -} - static inline pte_t pte_mkdirty(pte_t pte) { pte_set_bits(pte, _PAGE_DIRTY); |