Update of /cvsroot/linux-mips/linux/arch/mips/mm
In directory usw-pr-cvs1:/tmp/cvs-serv20010
Modified Files:
andes.c sb1.c
Added Files:
umap.c
Log Message:
Convert from local_flush_tlb* to flush_tlb*.
Index: andes.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/mm/andes.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- andes.c 2001/10/08 16:29:33 1.4
+++ andes.c 2001/10/11 22:44:25 1.5
@@ -60,23 +60,23 @@
}
/* TLB operations. XXX Write these dave... */
-void flush_tlb_all(void)
+void local_flush_tlb_all(void)
{
/* XXX */
}
-void flush_tlb_mm(struct mm_struct *mm)
+void local_flush_tlb_mm(struct mm_struct *mm)
{
/* XXX */
}
-void flush_tlb_range(struct mm_struct *mm, unsigned long start,
+void local_flush_tlb_range(struct mm_struct *mm, unsigned long start,
unsigned long end)
{
/* XXX */
}
-void flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
+void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
{
/* XXX */
}
@@ -109,7 +109,7 @@
write_32bit_cp0_register(CP0_FRAMEMASK, 0);
flush_cache_all();
- flush_tlb_all();
+ local_flush_tlb_all();
/*
* The R10k might even work for Linux/MIPS - but we're paranoid
Index: sb1.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/mm/sb1.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- sb1.c 2001/10/05 17:10:56 1.3
+++ sb1.c 2001/10/11 22:44:25 1.4
@@ -1,10 +1,7 @@
/*
* Copyright (C) 1996 David S. Miller (dm...@en...)
* Copyright (C) 1997, 2001 Ralf Baechle (ra...@gn...)
- * Copyright (C) 2000 Sibyte
- *
- * Written by Justin Carlson (ca...@si...)
- *
+ * Copyright (C) 2000, 2001 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -21,7 +18,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-
/*
* In this entire file, I'm not sure what the role of the L2 on the sb1250
* is. Since it is coherent to the system, we should never need to flush
@@ -61,7 +57,7 @@
}
}
-void flush_tlb_all(void)
+void local_flush_tlb_all(void)
{
unsigned long flags;
unsigned long old_ctx;
@@ -81,8 +77,6 @@
__restore_flags(flags);
}
-
-
/* These are the functions hooked by the memory management function pointers */
static void sb1_clear_page(void *page)
{
@@ -422,8 +416,8 @@
* at this level instead of as common code in loadmmu()?
*/
flush_cache_all();
- flush_tlb_all();
-
+ local_flush_tlb_all();
+
/* Turn on caching in kseg0 */
set_cp0_config(CONF_CM_CMASK, 0);
}
|