[MIPS] Fix mprotect() syscall for MIPS32 w/36-bit physical address support
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 3 May 2006 18:56:43 +0000 (22:56 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:15 +0000 (00:15 +0100)
commit79e0bc37255a4b934291b4d3ea5a4561fbd78da4
tree5505705aba14aa4560bbd875f50b5f15f9e18f29
parent9370b35175ca43fad7d24bc7b391473f3becbee8
[MIPS] Fix mprotect() syscall for MIPS32 w/36-bit physical address support

Fix mprotect() syscall for MIPS32 CPUs with 36-bit physical address
support: pte_modify() macro didn't clear the hardware page protection bits
before modifying...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/pgtable.h