Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2011 16:50:12 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r224139 - head/sys/mips/mips
Message-ID:  <201107171650.p6HGoCDa081569@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107171650.p6HGoCDa081569>