From: Graf Yang Date: Tue, 21 Jul 2009 02:26:57 +0000 (+0000) Subject: Blackfin: fix MPU handling of invalid memory accesses X-Git-Tag: v2.6.32-rc1~662^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b841288656b9b30b5d2add2fd136ac7eab5867;p=pandora-kernel.git Blackfin: fix MPU handling of invalid memory accesses The protect_page() function was incorrectly setting up the hardware tables based on possible access capabilities rather than the actual requested values. This means we would grant more access to mmap-ed pages than we should have. Once we fix this, we need to tweak the signal generated by such accesses to aline ourselves with other ports. This allows the LTP mmap0{5,6,7} cases to run properly. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed