]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/mm/cache.c
x86: add cpu init function defintions to cpu.h
[linux-2.6-omap-h63xx.git] / arch / mips / mm / cache.c
index 81f925a9a731bbb20980ce13793f163932224ea1..81f30ac2bff95fe7c406e3dcf7429899c0e74380 100644 (file)
@@ -3,13 +3,14 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1994 - 2003, 07 by Ralf Baechle (ralf@linux-mips.org)
+ * Copyright (C) 1994 - 2003, 06, 07 by Ralf Baechle (ralf@linux-mips.org)
  * Copyright (C) 2007 MIPS Technologies, Inc.
  */
 #include <linux/fs.h>
 #include <linux/fcntl.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
+#include <linux/linkage.h>
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/mm.h>
@@ -46,8 +47,6 @@ void (*_dma_cache_wback)(unsigned long start, unsigned long size);
 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
 
 EXPORT_SYMBOL(_dma_cache_wback_inv);
-EXPORT_SYMBOL(_dma_cache_wback);
-EXPORT_SYMBOL(_dma_cache_inv);
 
 #endif /* CONFIG_DMA_NONCOHERENT */
 
@@ -157,12 +156,6 @@ void __init cpu_cache_init(void)
                tx39_cache_init();
                return;
        }
-       if (cpu_has_sb1_cache) {
-               extern void __weak sb1_cache_init(void);
-
-               sb1_cache_init();
-               return;
-       }
 
        panic(cache_panic);
 }