diff options
author | jake <jake@FreeBSD.org> | 2003-07-17 23:42:08 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-07-17 23:42:08 +0000 |
commit | 242d14a38d959afc315ff9143d62e22fe10d7176 (patch) | |
tree | 935702d8ce9abf19f54042b8d06bf0ff72b2c961 /sys/sparc64 | |
parent | 8cbb5ce67318a92b9504e120b732fb3b549c6023 (diff) | |
download | FreeBSD-src-242d14a38d959afc315ff9143d62e22fe10d7176.zip FreeBSD-src-242d14a38d959afc315ff9143d62e22fe10d7176.tar.gz |
Avoid exposing declarations for kernel variables to userland.
PR: 54528
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/cache.h | 4 |
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_ */ |