diff options
Diffstat (limited to 'arch/cris/arch-v32/mm')
-rw-r--r-- | arch/cris/arch-v32/mm/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/cris/arch-v32/mm/init.c b/arch/cris/arch-v32/mm/init.c index 0768bc409ca8..3deca5253d91 100644 --- a/arch/cris/arch-v32/mm/init.c +++ b/arch/cris/arch-v32/mm/init.c | |||
@@ -73,11 +73,7 @@ void __init cris_mmu_init(void) | |||
73 | #endif | 73 | #endif |
74 | REG_STATE(mmu, rw_mm_cfg, seg_c, linear) | | 74 | REG_STATE(mmu, rw_mm_cfg, seg_c, linear) | |
75 | REG_STATE(mmu, rw_mm_cfg, seg_b, linear) | | 75 | REG_STATE(mmu, rw_mm_cfg, seg_b, linear) | |
76 | #ifndef CONFIG_ETRAX_VCS_SIM | ||
77 | REG_STATE(mmu, rw_mm_cfg, seg_a, page) | | 76 | REG_STATE(mmu, rw_mm_cfg, seg_a, page) | |
78 | #else | ||
79 | REG_STATE(mmu, rw_mm_cfg, seg_a, linear) | | ||
80 | #endif | ||
81 | REG_STATE(mmu, rw_mm_cfg, seg_9, page) | | 77 | REG_STATE(mmu, rw_mm_cfg, seg_9, page) | |
82 | REG_STATE(mmu, rw_mm_cfg, seg_8, page) | | 78 | REG_STATE(mmu, rw_mm_cfg, seg_8, page) | |
83 | REG_STATE(mmu, rw_mm_cfg, seg_7, page) | | 79 | REG_STATE(mmu, rw_mm_cfg, seg_7, page) | |
@@ -100,11 +96,7 @@ void __init cris_mmu_init(void) | |||
100 | #endif | 96 | #endif |
101 | REG_FIELD(mmu, rw_mm_kbase_hi, base_c, 0x4) | | 97 | REG_FIELD(mmu, rw_mm_kbase_hi, base_c, 0x4) | |
102 | REG_FIELD(mmu, rw_mm_kbase_hi, base_b, 0xb) | | 98 | REG_FIELD(mmu, rw_mm_kbase_hi, base_b, 0xb) | |
103 | #ifndef CONFIG_ETRAX_VCS_SIM | ||
104 | REG_FIELD(mmu, rw_mm_kbase_hi, base_a, 0x0) | | 99 | REG_FIELD(mmu, rw_mm_kbase_hi, base_a, 0x0) | |
105 | #else | ||
106 | REG_FIELD(mmu, rw_mm_kbase_hi, base_a, 0xa) | | ||
107 | #endif | ||
108 | REG_FIELD(mmu, rw_mm_kbase_hi, base_9, 0x0) | | 100 | REG_FIELD(mmu, rw_mm_kbase_hi, base_9, 0x0) | |
109 | REG_FIELD(mmu, rw_mm_kbase_hi, base_8, 0x0)); | 101 | REG_FIELD(mmu, rw_mm_kbase_hi, base_8, 0x0)); |
110 | 102 | ||