Blackfin arch: fix bug: kernel prints out error message twice
authorRobin Getz <robin.getz@analog.com>
Mon, 29 Oct 2007 09:20:41 +0000 (17:20 +0800)
committerBryan Wu <bryan.wu@analog.com>
Mon, 29 Oct 2007 09:20:41 +0000 (17:20 +0800)
commit885be03b069131d242506f0f717d38659b2bdb6c
tree52c1858645ee28b9d0bc7166744da3eef5bc6f1f
parent64307f7db3690140a16c6748e65068f8a279877c
Blackfin arch: fix bug: kernel prints out error message twice

This fixes two things:
 - stop calling write_lock_irq/write_unlock_irq which can turn modify
   irq levels
 - don't calling mmput when handing exceptions - since this might_sleep,
   which does a rti, and leaves us in kernel space (irq15, rather
   than irq5).

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/traps.c