diff --git a/sys/sparc64/include/cache.h b/sys/sparc64/include/cache.h index 8708cb4b51f3..94c65e521266 100644 --- a/sys/sparc64/include/cache.h +++ b/sys/sparc64/include/cache.h @@ -95,6 +95,8 @@ struct cacheinfo { u_int ec_l2linesize; }; +#ifdef _KERNEL + typedef void dcache_page_inval_t(vm_paddr_t pa); typedef void icache_page_inval_t(vm_paddr_t pa); @@ -110,4 +112,6 @@ extern icache_page_inval_t *icache_page_inval; extern struct cacheinfo cache; +#endif + #endif /* !_MACHINE_CACHE_H_ */