Title: [8858] trunk/arch/blackfin: bfin: keep all anomaly/arch checks in one place
Revision
8858
Author
vapier
Date
2010-05-27 18:33:46 -0400 (Thu, 27 May 2010)

Log Message

bfin: keep all anomaly/arch checks in one place

Modified Paths


Diff

Modified: trunk/arch/blackfin/kernel/cplb-mpu/cplbinit.c (8857 => 8858)


--- trunk/arch/blackfin/kernel/cplb-mpu/cplbinit.c	2010-05-27 21:47:31 UTC (rev 8857)
+++ trunk/arch/blackfin/kernel/cplb-mpu/cplbinit.c	2010-05-27 22:33:46 UTC (rev 8858)
@@ -13,10 +13,6 @@
 #include <asm/cplbinit.h>
 #include <asm/mem_map.h>
 
-#if ANOMALY_05000263
-# error the MPU will not function safely while Anomaly 05000263 applies
-#endif
-
 struct cplb_entry icplb_tbl[NR_CPUS][MAX_CPLBS];
 struct cplb_entry dcplb_tbl[NR_CPUS][MAX_CPLBS];
 

Modified: trunk/arch/blackfin/mach-common/arch_checks.c (8857 => 8858)


--- trunk/arch/blackfin/mach-common/arch_checks.c	2010-05-27 21:47:31 UTC (rev 8857)
+++ trunk/arch/blackfin/mach-common/arch_checks.c	2010-05-27 22:33:46 UTC (rev 8858)
@@ -1,7 +1,7 @@
 /*
  * Do some checking to make sure things are OK
  *
- * Copyright 2007-2009 Analog Devices Inc.
+ * Copyright 2007-2010 Analog Devices Inc.
  *
  * Licensed under the GPL-2 or later.
  */
@@ -47,6 +47,10 @@
 # error "The kernel load address is too high; keep it below 10meg for safety"
 #endif
 
+#if ANOMALY_05000263 && defined(CONFIG_MPU)
+# error the MPU will not function safely while Anomaly 05000263 applies
+#endif
+
 #if ANOMALY_05000448
 # error You are using a part with anomaly 05000448, this issue causes random memory read/write failures - that means random crashes.
 #endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to