Blackfin: only handle CPLB protection violations when MPU is enabled
commit16aadcb680e188bd0a6d7b0ecd5d0ceabd4fba4d
authorRobin Getz <robin.getz@analog.com>
Tue, 9 Jun 2009 01:18:41 +0000 (9 01:18 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Jun 2009 11:20:06 +0000 (13 07:20 -0400)
tree2de288531c36c733bdc3b452a764b2588356e00c
parentf3ad116588151b3371ae4e092290e4f48e62b8bb
Blackfin: only handle CPLB protection violations when MPU is enabled

We don't need to handle CPLB protection violations unless we are running
with the MPU on.  Fix the entry code to call common trap_c, and remove the
code which is never run.  This allows the traps test suite to run on older
boards with the MPU disabled.

URL: http://blackfin.uclinux.org/gf/tracker/5129
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/cplb-nompu/cplbmgr.c
arch/blackfin/mach-common/entry.S