]> err.no Git - linux-2.6/commitdiff
CRIS v32: Change name of simulator config to CONFIG_ETRAX_VCS_SIM in mm/init.c
authorJesper Nilsson <jesper.nilsson@axis.com>
Fri, 25 Jan 2008 17:00:48 +0000 (18:00 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:36 +0000 (11:06 +0100)
- Remove unneded code for ETRAX FS and ARTPEC-3

arch/cris/arch-v32/mm/init.c

index a84ba7ff22d269e40780d6225927022884497d8a..5a9ac5834647b222094a19ee83dd74ce1260807f 100644 (file)
@@ -65,7 +65,7 @@ cris_mmu_init(void)
                       REG_STATE(mmu, rw_mm_cfg, seg_d, page)   |
                       REG_STATE(mmu, rw_mm_cfg, seg_c, linear) |
                       REG_STATE(mmu, rw_mm_cfg, seg_b, linear) |
-#ifndef CONFIG_ETRAXFS_SIM
+#ifndef CONFIG_ETRAX_VCS_SIM
                        REG_STATE(mmu, rw_mm_cfg, seg_a, page)   |
 #else
                       REG_STATE(mmu, rw_mm_cfg, seg_a, linear) |
@@ -84,13 +84,9 @@ cris_mmu_init(void)
        mmu_kbase_hi = ( REG_FIELD(mmu, rw_mm_kbase_hi, base_f, 0x0) |
                         REG_FIELD(mmu, rw_mm_kbase_hi, base_e, 0x8) |
                         REG_FIELD(mmu, rw_mm_kbase_hi, base_d, 0x0) |
-#ifndef CONFIG_ETRAXFS_SIM
                          REG_FIELD(mmu, rw_mm_kbase_hi, base_c, 0x4) |
-#else
-                        REG_FIELD(mmu, rw_mm_kbase_hi, base_c, 0x0) |
-#endif
                         REG_FIELD(mmu, rw_mm_kbase_hi, base_b, 0xb) |
-#ifndef CONFIG_ETRAXFS_SIM
+#ifndef CONFIG_ETRAX_VCS_SIM
                         REG_FIELD(mmu, rw_mm_kbase_hi, base_a, 0x0) |
 #else
                          REG_FIELD(mmu, rw_mm_kbase_hi, base_a, 0xa) |