summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-07-17 23:42:08 +0000
committerjake <jake@FreeBSD.org>2003-07-17 23:42:08 +0000
commit242d14a38d959afc315ff9143d62e22fe10d7176 (patch)
tree935702d8ce9abf19f54042b8d06bf0ff72b2c961 /sys
parent8cbb5ce67318a92b9504e120b732fb3b549c6023 (diff)
downloadFreeBSD-src-242d14a38d959afc315ff9143d62e22fe10d7176.zip
FreeBSD-src-242d14a38d959afc315ff9143d62e22fe10d7176.tar.gz
Avoid exposing declarations for kernel variables to userland.
PR: 54528
Diffstat (limited to 'sys')
-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