From 174329aff26c13c84b1311f345ab47f72d8fb411 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sun, 9 Apr 2006 20:03:03 +0000 Subject: [PATCH] MFp4: Don't write-back the PTEs if they are mapped write-through, this was apparently only needed because skyeye has bugs in its cache emulation. --- sys/arm/include/pmap.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/arm/include/pmap.h b/sys/arm/include/pmap.h index 06f6f7c45854..a7b08b3b529d 100644 --- a/sys/arm/include/pmap.h +++ b/sys/arm/include/pmap.h @@ -336,13 +336,8 @@ extern int pmap_needs_pte_sync; #define PMAP_NEEDS_PTE_SYNC 1 #define PMAP_INCLUDE_PTE_SYNC #elif (ARM_MMU_SA1 == 0) -#if defined(CPU_ARM9) && !defined(ARM9_CACHE_WRITE_THROUGH) -#define PMAP_NEEDS_PTE_SYNC 1 -#define PMAP_INCLUDE_PTE_SYNC -#else #define PMAP_NEEDS_PTE_SYNC 0 #endif -#endif /* * These macros return various bits based on kernel/user and protection.