]> git.openfabrics.org - ~emulex/infiniband.git/commit
[PATCH] ARM: 2656/1: Access permission bits are wrong for kernel XIP sections on...
authorGeorge G. Davis <davis_g@com.rmk.(none)>
Fri, 29 Apr 2005 21:08:35 +0000 (22:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 29 Apr 2005 21:08:35 +0000 (22:08 +0100)
commitca315159dfa80a2bfc7d917a717a7ee8d771bdf9
tree6dd27320f571b6d7555424346c21c1d300cb0335
parent05f9869bf20e11bcb9b64b9ebd6a9cf89d6b71ba
[PATCH] ARM: 2656/1: Access permission bits are wrong for kernel XIP sections on ARMv6

Patch from George G. Davis

This patch is required for kernel XIP support on ARMv6 machines.  It ensures that the access permission bits for kernel XIP section descriptors are APX=1 and AP[1:0]=01, which is Kernel read-only/User no access permissions.  Prior to this change, kernel XIP section descriptor access permissions were set to Kernel no access/User no access on ARMv6 machines and the kernel would therefore hang upon entry to userspace when set_fs(USER_DS) was executed.

Signed-off-by: Steve Longerbeam
Signed-off-by: George G. Davis
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mm-armv.c