ARM: 7436/1: Do not map the vectors page as write-through on UP systems
[deliverable/linux.git] / arch / arm / mm / mmu.c
index e5dad60b558b468315294b2c8b95c70193b6f74d..f37dc1856a692804a4e65d9c0ff981069170e07e 100644 (file)
@@ -421,12 +421,6 @@ static void __init build_mem_type_table(void)
        cp = &cache_policies[cachepolicy];
        vecs_pgprot = kern_pgprot = user_pgprot = cp->pte;
 
-       /*
-        * Only use write-through for non-SMP systems
-        */
-       if (!is_smp() && cpu_arch >= CPU_ARCH_ARMv5 && cachepolicy > CPOLICY_WRITETHROUGH)
-               vecs_pgprot = cache_policies[CPOLICY_WRITETHROUGH].pte;
-
        /*
         * Enable CPU-specific coherency if supported.
         * (Only available on XSC3 at the moment.)
This page took 0.026649 seconds and 5 git commands to generate.