diff options
author | bz <bz@FreeBSD.org> | 2011-07-17 16:50:12 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2011-07-17 16:50:12 +0000 |
commit | 6b604ac8385fe863a37631848a323ce95a539a2b (patch) | |
tree | 6ceadf826fb88a451c9b3df6fa37a1b392325860 /sys/mips | |
parent | 6530d94c4a04e6ae8303634bb47745d7a41a7c8e (diff) | |
download | FreeBSD-src-6b604ac8385fe863a37631848a323ce95a539a2b.zip FreeBSD-src-6b604ac8385fe863a37631848a323ce95a539a2b.tar.gz |
Fix compilation of mips kernels adding apropriate #ifdefs after r224115.
Pointed out by: Luiz Otavio O Souza (lists.br gmail.com)
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/mips/cache.c b/sys/mips/mips/cache.c index 3fafede..4e7f35f 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) |