From 7056457c706e0ef0b9815f36240f475402049e1d Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sun, 17 Jul 2011 16:50:12 +0000 Subject: [PATCH] Fix compilation of mips kernels adding apropriate #ifdefs after r224115. Pointed out by: Luiz Otavio O Souza (lists.br gmail.com) --- sys/mips/mips/cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/mips/mips/cache.c b/sys/mips/mips/cache.c index 3fafede83500..4e7f35ff7896 100644 --- a/sys/mips/mips/cache.c +++ b/sys/mips/mips/cache.c @@ -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)