Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Wrap vnode_impl.h in defined(_KERNEL) || defined(_KM...
details: https://anonhg.NetBSD.org/src/rev/c6889ddaf0d6
branches: trunk
changeset: 1008414:c6889ddaf0d6
user: ad <ad%NetBSD.org@localhost>
date: Sun Mar 22 14:27:33 2020 +0000
description:
Wrap vnode_impl.h in defined(_KERNEL) || defined(_KMEMUSER), and install
it for kmem grovellers.
diffstat:
distrib/sets/lists/comp/mi | 3 ++-
sys/sys/Makefile | 4 ++--
sys/sys/vnode_impl.h | 6 ++++--
3 files changed, 8 insertions(+), 5 deletions(-)
diffs (59 lines):
diff -r 2c97bb9bf872 -r c6889ddaf0d6 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Sun Mar 22 13:30:10 2020 +0000
+++ b/distrib/sets/lists/comp/mi Sun Mar 22 14:27:33 2020 +0000
@@ -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
diff -r 2c97bb9bf872 -r c6889ddaf0d6 sys/sys/Makefile
--- a/sys/sys/Makefile Sun Mar 22 13:30:10 2020 +0000
+++ b/sys/sys/Makefile Sun Mar 22 14:27:33 2020 +0000
@@ -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 @@
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=\
diff -r 2c97bb9bf872 -r c6889ddaf0d6 sys/sys/vnode_impl.h
--- a/sys/sys/vnode_impl.h Sun Mar 22 13:30:10 2020 +0000
+++ b/sys/sys/vnode_impl.h Sun Mar 22 14:27:33 2020 +0000
@@ -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_tryvget(vnode_t *);
int vfs_drainvnodes(void);
-#endif /* !_SYS_VNODE_IMPL_H_ */
+#endif /* defined(_KERNEL) || defined(_KMEMUSER) */
+#endif /* !_SYS_VNODE_IMPL_H_ */
Home |
Main Index |
Thread Index |
Old Index