[ARM] 4158/1: Fix user page protection macros
authorImre_Deak <imre.deak@solidboot.com>
Sun, 11 Feb 2007 12:45:13 +0000 (13:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 11 Feb 2007 17:06:17 +0000 (17:06 +0000)
commit44b18693904e65d840ae999ac8aa717551cf509f
treee4c7c9b1676a94d4488b0a5a4023fcbf23c002e4
parenteeea82ff4a3aebed9f501f04ca7b65d3605f247a
[ARM] 4158/1: Fix user page protection macros

The PAGE_* user page protection macros don't take into account the
configured memory policy and other architecture specific bits like
the global/ASID and shared mapping bits. Instead of constants let
these depend on a variable fixed up at init just like PAGE_KERNEL.

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c
include/asm-arm/pgtable.h