patch-2.1.48 linux/arch/sparc64/mm/init.c
Next file: linux/arch/sparc64/mm/ultra.S
Previous file: linux/arch/sparc64/mm/Makefile
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Jul 31 13:09:17 1997
- Orig file:
v2.1.47/linux/arch/sparc64/mm/init.c
- Orig date:
Mon Jul 7 08:18:55 1997
diff -u --recursive --new-file v2.1.47/linux/arch/sparc64/mm/init.c linux/arch/sparc64/mm/init.c
@@ -1,4 +1,4 @@
-/* $Id: init.c,v 1.39 1997/07/07 02:50:57 davem Exp $
+/* $Id: init.c,v 1.40 1997/07/24 16:48:27 davem Exp $
* arch/sparc64/mm/init.c
*
* Copyright (C) 1996,1997 David S. Miller (davem@caip.rutgers.edu)
@@ -431,8 +431,17 @@
membar("#Sync");
}
+void __flush_cache_all(void)
+{
+ unsigned long va;
+
+ flushw_all();
+ for(va = 0; va < (PAGE_SIZE << 1); va += 32)
+ spitfire_put_icache_tag(va, 0x0);
+}
+
/* If not locked, zap it. */
-void flush_tlb_all(void)
+void __flush_tlb_all(void)
{
unsigned long flags;
int i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov