diff options
-rw-r--r-- | arch/blackfin/kernel/cplb-mpu/cplbinit.c | 2 | ||||
-rw-r--r-- | arch/blackfin/kernel/cplb-mpu/cplbmgr.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbinit.c b/arch/blackfin/kernel/cplb-mpu/cplbinit.c index dc6e8a7a8bda..7310e5fc6399 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbinit.c | |||
@@ -49,7 +49,7 @@ void __init generate_cpl_tables(void) | |||
49 | 49 | ||
50 | #ifdef CONFIG_BFIN_DCACHE | 50 | #ifdef CONFIG_BFIN_DCACHE |
51 | d_cache = CPLB_L1_CHBL; | 51 | d_cache = CPLB_L1_CHBL; |
52 | #ifdef CONFIG_BLKFIN_WT | 52 | #ifdef CONFIG_BFIN_WT |
53 | d_cache |= CPLB_L1_AOW | CPLB_WT; | 53 | d_cache |= CPLB_L1_AOW | CPLB_WT; |
54 | #endif | 54 | #endif |
55 | #endif | 55 | #endif |
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c index c426a22f9907..0a30d6256073 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c | |||
@@ -149,7 +149,7 @@ static noinline int dcplb_miss(void) | |||
149 | d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB; | 149 | d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB; |
150 | #ifdef CONFIG_BFIN_DCACHE | 150 | #ifdef CONFIG_BFIN_DCACHE |
151 | d_data |= CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND; | 151 | d_data |= CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND; |
152 | #ifdef CONFIG_BLKFIN_WT | 152 | #ifdef CONFIG_BFIN_WT |
153 | d_data |= CPLB_L1_AOW | CPLB_WT; | 153 | d_data |= CPLB_L1_AOW | CPLB_WT; |
154 | #endif | 154 | #endif |
155 | #endif | 155 | #endif |
@@ -319,7 +319,7 @@ void set_mask_dcplbs(unsigned long *masks) | |||
319 | d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB; | 319 | d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB; |
320 | #ifdef CONFIG_BFIN_DCACHE | 320 | #ifdef CONFIG_BFIN_DCACHE |
321 | d_data |= CPLB_L1_CHBL; | 321 | d_data |= CPLB_L1_CHBL; |
322 | #ifdef CONFIG_BLKFIN_WT | 322 | #ifdef CONFIG_BFIN_WT |
323 | d_data |= CPLB_L1_AOW | CPLB_WT; | 323 | d_data |= CPLB_L1_AOW | CPLB_WT; |
324 | #endif | 324 | #endif |
325 | #endif | 325 | #endif |