Revert "arm: mm: hugetlb WT hack"
[pandora-kernel.git] / arch / arm / mm / mmu.c
index 1ca732f..0a5191e 100644 (file)
@@ -572,12 +572,6 @@ static void __init build_mem_type_table(void)
 
        arm_hugepmdprotval = mem_types[MT_MEMORY].prot_sect | PMD_SECT_AP_READ
                                | PMD_SECT_nG;
-
-       /* HACK: make huge pages WT
-        * XXX: mm will not know nothing about this..
-        * FIXME: should only do it on Cortex-A8 or below */
-       arm_hugepmdprotval &= ~(PMD_SECT_WB | PMD_SECT_TEX(1));
-       arm_hugepmdprotval |= PMD_SECT_WT;
 #endif
 
 }