diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2008-02-01 23:28:23 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2008-02-01 23:28:23 -0500 |
commit | c605999bd9a90a7a9915666f4531c60928cbc368 (patch) | |
tree | 5fd58fb2b5d359ded4435ef38368c67c6f354f7b /arch/blackfin | |
parent | 960265e22bcd4a657223e79f36643eb7e69b1a1f (diff) |
[Blackfin] arch: error out if ANOMALY_05000263 applies while enabling the MPU
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/cplb-mpu/cplbinit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbinit.c b/arch/blackfin/kernel/cplb-mpu/cplbinit.c index e2e2b5079f5b..dc6e8a7a8bda 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbinit.c | |||
@@ -26,6 +26,10 @@ | |||
26 | #include <asm/cplb.h> | 26 | #include <asm/cplb.h> |
27 | #include <asm/cplbinit.h> | 27 | #include <asm/cplbinit.h> |
28 | 28 | ||
29 | #if ANOMALY_05000263 | ||
30 | # error the MPU will not function safely while Anomaly 05000263 applies | ||
31 | #endif | ||
32 | |||
29 | struct cplb_entry icplb_tbl[MAX_CPLBS]; | 33 | struct cplb_entry icplb_tbl[MAX_CPLBS]; |
30 | struct cplb_entry dcplb_tbl[MAX_CPLBS]; | 34 | struct cplb_entry dcplb_tbl[MAX_CPLBS]; |
31 | 35 | ||