ARM: Separate out access error checking
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Sep 2009 11:53:01 +0000 (12:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Sep 2009 15:53:40 +0000 (16:53 +0100)
commitd374bf14a5ff18133bd6a6cc00f189949f7ba8fb
treed04f40327d5575f5f848695a97099527475a2634
parentbf4569922b97824f33e5d08d0bbe4b34fe43e4cd
ARM: Separate out access error checking

Since we get notified separately about prefetch aborts, which may be
permission faults, we need to check for appropriate access permissions
when handling a fault.  This patch prepares us for doing this by
separating out the access error checking.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/fault.c