Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern redo the previous correctly



details:   https://anonhg.NetBSD.org/src/rev/41901995b580
branches:  trunk
changeset: 501027:41901995b580
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Dec 22 15:09:46 2000 +0000

description:
redo the previous correctly

diffstat:

 sys/kern/vnode_if.sh |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r de8ab8a425b9 -r 41901995b580 sys/kern/vnode_if.sh
--- a/sys/kern/vnode_if.sh      Fri Dec 22 14:59:40 2000 +0000
+++ b/sys/kern/vnode_if.sh      Fri Dec 22 15:09:46 2000 +0000
@@ -33,7 +33,7 @@
  * SUCH DAMAGE.
  */
 "
-SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.22 2000/12/22 14:58:40 mrg Exp $'
+SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.23 2000/12/22 15:09:46 mrg Exp $'
 
 # Script to produce VFS front-end sugar.
 #
@@ -162,7 +162,7 @@
 echo '#define _SYS_VNODE_IF_H_'
 echo ''
 echo '#ifdef _KERNEL'
-echo '#if defined(LKM) && !defined(VNODE_OP_NOINLINE)'
+echo '#ifdef LKM'
 echo '/* LKMs always use non-inlined vnode ops. */'
 echo '#define  VNODE_OP_NOINLINE'
 echo '#else'
@@ -266,8 +266,10 @@
  * If we have LKM support, always include the non-inline versions for
  * LKMs.  Otherwise, do it based on the option.
  */
-#if defined(LKM) && !defined(VNODE_OP_NOINLINE)
+#ifdef LKM
 #define        VNODE_OP_NOINLINE
+#else
+#include "opt_vnode_op_noinline.h"
 #endif'
 echo '
 #include <sys/param.h>



Home | Main Index | Thread Index | Old Index