X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Farm%2Fmm%2Fmmu.c;h=0a5191ec120e613f7edb7d4536b8b80020c84c47;hp=1ca732f9322454176eff6eb7fc9ee32ae2b849e6;hb=6f4b131c8dee8f5bdfb4a254d4a610e6956f26bc;hpb=c5fd6bc55245c79d586df8541498a3f2204ae7bc;ds=sidebyside diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 1ca732f93224..0a5191ec120e 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -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 }