Fix compilation of mips kernels adding apropriate #ifdefs after r224115.

Pointed out by:	Luiz Otavio O Souza (lists.br gmail.com)
This commit is contained in:
Bjoern A. Zeeb 2011-07-17 16:50:12 +00:00
parent 068c02de6d
commit 7056457c70

View File

@ -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)