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.
This commit is contained in:
cognet 2006-04-09 20:03:03 +00:00
parent a6661f4c72
commit e23eec56ae

View File

@ -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.