mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 08:22:39 +00:00
[Blackfin] arch: fix up - CONFIG_BLKFIN_WT was renamed CONFIG_BFIN_WT while the MPU code was out-of-tree.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
b594272c5e
commit
dbfe44f02b
@ -49,7 +49,7 @@ void __init generate_cpl_tables(void)
|
|||||||
|
|
||||||
#ifdef CONFIG_BFIN_DCACHE
|
#ifdef CONFIG_BFIN_DCACHE
|
||||||
d_cache = CPLB_L1_CHBL;
|
d_cache = CPLB_L1_CHBL;
|
||||||
#ifdef CONFIG_BLKFIN_WT
|
#ifdef CONFIG_BFIN_WT
|
||||||
d_cache |= CPLB_L1_AOW | CPLB_WT;
|
d_cache |= CPLB_L1_AOW | CPLB_WT;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -149,7 +149,7 @@ static noinline int dcplb_miss(void)
|
|||||||
d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB;
|
d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB;
|
||||||
#ifdef CONFIG_BFIN_DCACHE
|
#ifdef CONFIG_BFIN_DCACHE
|
||||||
d_data |= CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND;
|
d_data |= CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND;
|
||||||
#ifdef CONFIG_BLKFIN_WT
|
#ifdef CONFIG_BFIN_WT
|
||||||
d_data |= CPLB_L1_AOW | CPLB_WT;
|
d_data |= CPLB_L1_AOW | CPLB_WT;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
@ -319,7 +319,7 @@ void set_mask_dcplbs(unsigned long *masks)
|
|||||||
d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB;
|
d_data = CPLB_SUPV_WR | CPLB_VALID | CPLB_DIRTY | PAGE_SIZE_4KB;
|
||||||
#ifdef CONFIG_BFIN_DCACHE
|
#ifdef CONFIG_BFIN_DCACHE
|
||||||
d_data |= CPLB_L1_CHBL;
|
d_data |= CPLB_L1_CHBL;
|
||||||
#ifdef CONFIG_BLKFIN_WT
|
#ifdef CONFIG_BFIN_WT
|
||||||
d_data |= CPLB_L1_AOW | CPLB_WT;
|
d_data |= CPLB_L1_AOW | CPLB_WT;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user