Blackfin arch: revise anomaly handling by basing things on the compiler not the kconf...
[sfrench/cifs-2.6.git] / arch / blackfin / kernel / cplbinit.c
index bbdb403fcb55670b71ecbc65a12f0322a7a80852..3b1c87c9fd515bee1618d87fd9fffbd4c9e95a64 100644 (file)
@@ -230,8 +230,8 @@ static void __fill_code_cplbtab(struct cplb_tab *t, int i, u32 a_start, u32 a_en
                                cplb_data[i].psize,
                                cplb_data[i].i_conf);
        } else {
-#if (defined(CONFIG_BLKFIN_CACHE) && defined(ANOMALY_05000263))
-               if (i == SDRAM_KERN) {
+#if defined(CONFIG_BLKFIN_CACHE)
+               if (ANOMALY_05000263 && i == SDRAM_KERN) {
                        fill_cplbtab(t,
                                        cplb_data[i].start,
                                        cplb_data[i].end,