浏览代码

[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>
Mike Frysinger 17 年之前
父节点
当前提交
c605999bd9
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      arch/blackfin/kernel/cplb-mpu/cplbinit.c

+ 4 - 0
arch/blackfin/kernel/cplb-mpu/cplbinit.c

@@ -26,6 +26,10 @@
 #include <asm/cplb.h>
 #include <asm/cplb.h>
 #include <asm/cplbinit.h>
 #include <asm/cplbinit.h>
 
 
+#if ANOMALY_05000263
+# error the MPU will not function safely while Anomaly 05000263 applies
+#endif
+
 struct cplb_entry icplb_tbl[MAX_CPLBS];
 struct cplb_entry icplb_tbl[MAX_CPLBS];
 struct cplb_entry dcplb_tbl[MAX_CPLBS];
 struct cplb_entry dcplb_tbl[MAX_CPLBS];