Author: bz
Date: Sun Jul 17 16:50:12 2011
New Revision: 224139
URL: http://svn.freebsd.org/changeset/base/224139

Log:
  Fix compilation of mips kernels adding apropriate #ifdefs after r224115.
  
  Pointed out by:       Luiz Otavio O Souza (lists.br gmail.com)

Modified:
  head/sys/mips/mips/cache.c

Modified: head/sys/mips/mips/cache.c
==============================================================================
--- head/sys/mips/mips/cache.c  Sun Jul 17 16:30:57 2011        (r224138)
+++ head/sys/mips/mips/cache.c  Sun Jul 17 16:50:12 2011        (r224139)
@@ -80,10 +80,12 @@ __FBSDID("$FreeBSD$");
 
 struct mips_cache_ops mips_cache_ops;
 
+#if defined(MIPS_DISABLE_L1_CACHE) || defined(CPU_RMI) || defined(CPU_NLM)
 static void
 cache_noop(vm_offset_t va, vm_size_t size)
 {
 }
+#endif
 
 void
 mips_config_cache(struct mips_cpuinfo * cpuinfo)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to