Wrap vnode_impl.h in defined(_KERNEL) || defined(_KMEMUSER), and install
it for kmem grovellers.
This commit is contained in:
parent
561f1f3c9a
commit
5de49fc7c2
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.2312 2020/03/03 00:38:12 christos Exp $
|
||||
# $NetBSD: mi,v 1.2313 2020/03/22 14:27:33 ad Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
./etc/mtree/set.comp comp-sys-root
|
||||
@ -3216,6 +3216,7 @@
|
||||
./usr/include/sys/vmmeter.h comp-c-include
|
||||
./usr/include/sys/vnode.h comp-c-include
|
||||
./usr/include/sys/vnode_if.h comp-c-include
|
||||
./usr/include/sys/vnode_impl.h comp-c-include
|
||||
./usr/include/sys/vsio.h comp-obsolete obsolete
|
||||
./usr/include/sys/wait.h comp-c-include
|
||||
./usr/include/sys/wapbl.h comp-c-include
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.171 2019/12/14 15:30:37 ad Exp $
|
||||
# $NetBSD: Makefile,v 1.172 2020/03/22 14:27:33 ad Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -45,7 +45,7 @@ INCS= acct.h agpio.h aio.h ansi.h aout_mids.h ataio.h atomic.h \
|
||||
timex.h tls.h trace.h tree.h tty.h ttychars.h ttycom.h \
|
||||
ttydefaults.h ttydev.h types.h \
|
||||
ucontext.h ucred.h uio.h un.h unistd.h unpcb.h utsname.h uuid.h \
|
||||
verified_exec.h videoio.h vmmeter.h vnode.h vnode_if.h \
|
||||
verified_exec.h videoio.h vmmeter.h vnode.h vnode_if.h vnode_impl.h \
|
||||
wait.h wapbl.h wapbl_replay.h wdog.h xattr.h
|
||||
|
||||
INCSYMLINKS=\
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vnode_impl.h,v 1.21 2020/02/23 22:14:04 ad Exp $ */
|
||||
/* $NetBSD: vnode_impl.h,v 1.22 2020/03/22 14:27:33 ad Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2016, 2019, 2020 The NetBSD Foundation, Inc.
|
||||
@ -28,6 +28,7 @@
|
||||
|
||||
#ifndef _SYS_VNODE_IMPL_H_
|
||||
#define _SYS_VNODE_IMPL_H_
|
||||
#if defined(_KERNEL) || defined(_KMEMUSER)
|
||||
|
||||
#include <sys/vnode.h>
|
||||
|
||||
@ -143,4 +144,5 @@ int vcache_vget(vnode_t *);
|
||||
int vcache_tryvget(vnode_t *);
|
||||
int vfs_drainvnodes(void);
|
||||
|
||||
#endif /* !_SYS_VNODE_IMPL_H_ */
|
||||
#endif /* defined(_KERNEL) || defined(_KMEMUSER) */
|
||||
#endif /* !_SYS_VNODE_IMPL_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user