summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/include/cache.h')
-rw-r--r--sys/sparc64/include/cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/cache.h b/sys/sparc64/include/cache.h
index 8708cb4..94c65e5 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_ */
OpenPOWER on IntegriCloud