From: James S. <jsi...@us...> - 2001-11-26 19:18:15
|
Update of /cvsroot/linux-mips/linux/arch/mips/mm In directory usw-pr-cvs1:/tmp/cvs-serv24224/mm Modified Files: c-andes.c c-r3k.c Log Message: ake flush_cache_all() an empty function for the R3000. Index: c-andes.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/mm/c-andes.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- c-andes.c 2001/10/23 17:20:14 1.1 +++ c-andes.c 2001/11/26 19:18:13 1.2 @@ -70,6 +70,12 @@ } } +static void andes___flush_cache_all(void) +{ + andes_flush_cache_l1(); + andes_flush_cache_l2(); +} + void andes_flush_icache_page(unsigned long page) { @@ -101,6 +107,7 @@ _copy_page = andes_copy_page; _flush_cache_all = andes_flush_cache_all; + ___flush_cache_all = andes___flush_cache_all; _flush_cache_mm = andes_flush_cache_mm; _flush_cache_page = andes_flush_cache_page; _flush_page_to_ram = andes_flush_page_to_ram; Index: c-r3k.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/mm/c-r3k.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- c-r3k.c 2001/10/30 17:46:57 1.2 +++ c-r3k.c 2001/11/26 19:18:13 1.3 @@ -232,7 +232,6 @@ static inline void r3k_flush_cache_all(void) { - r3k_flush_icache_range(KSEG0, KSEG0 + icache_size); } static inline void r3k___flush_cache_all(void) |