patch-2.3.9 linux/arch/mips/mm/r4xx0.c

Next file: linux/arch/mips/mm/r6000.c
Previous file: linux/arch/mips/mm/r2300.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.8/linux/arch/mips/mm/r4xx0.c linux/arch/mips/mm/r4xx0.c
@@ -1,4 +1,4 @@
-/* $Id: r4xx0.c,v 1.30 1998/10/16 19:22:43 ralf Exp $
+/* $Id: r4xx0.c,v 1.22 1999/06/17 13:25:51 ralf Exp $
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
@@ -2172,6 +2172,12 @@
 	}
 }
 
+static void
+r4k_dma_cache_wback(unsigned long addr, unsigned long size)
+{
+	panic("r4k_dma_cache called - should not happen.\n");
+}
+
 /*
  * While we're protected against bad userland addresses we don't care
  * very much about what happens in that case.  Usually a segmentation
@@ -2652,6 +2658,7 @@
 		break;
 	}
 	dma_cache_wback_inv = r4k_dma_cache_wback_inv_pc;
+	dma_cache_wback = r4k_dma_cache_wback;
 	dma_cache_inv = r4k_dma_cache_inv_pc;
 }
 
@@ -2735,6 +2742,7 @@
 		break;
 	}
 	dma_cache_wback_inv = r4k_dma_cache_wback_inv_sc;
+	dma_cache_wback = r4k_dma_cache_wback;
 	dma_cache_inv = r4k_dma_cache_inv_sc;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)