Blackfin arch: fix bug - MPU crashes under stress
authorBernd Schmidt <bernds_cb1@t-online.de>
Mon, 25 Aug 2008 10:41:15 +0000 (18:41 +0800)
committerBryan Wu <cooloney@kernel.org>
Mon, 25 Aug 2008 10:41:15 +0000 (18:41 +0800)
commit3d9b7a5ce534f3963afcf8f4777267e5899fe007
tree8b12d350b00a0c0f12d4764fe5998ef0a9bfed57
parent225f7e1eb56ad054c328ae1b11601ea4de7488ba
Blackfin arch: fix bug - MPU crashes under stress

Bug Description:
a customer reported under IRQ stress, running applications may
wrongly trigger an ICPLB miss and be killed. after playing a
bit more, here's a test case that may be triggering the same bug.

Fixing:
After modifying page protections, only modify the active CPLBs if the
protection change was made for the active mm.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
include/asm-blackfin/mmu_context.h