Avoid exposing declarations for kernel variables to userland.
PR: 54528
This commit is contained in:
parent
090b336154
commit
30c2333b1d
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user