Source-Changes-HG archive

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

[src/trunk]: src/sys/kern use _KERNEL_OPT not _KERNEL&&|_LKM



details:   https://anonhg.NetBSD.org/src/rev/a68edc1476cf
branches:  trunk
changeset: 510483:a68edc1476cf
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed May 30 11:27:46 2001 +0000

description:
use _KERNEL_OPT not _KERNEL&&|_LKM

diffstat:

 sys/kern/makesyscalls.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 486b5903f501 -r a68edc1476cf sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Wed May 30 10:51:55 2001 +0000
+++ b/sys/kern/makesyscalls.sh  Wed May 30 11:27:46 2001 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#      $NetBSD: makesyscalls.sh,v 1.47 2001/04/27 06:07:27 lukem Exp $
+#      $NetBSD: makesyscalls.sh,v 1.48 2001/05/30 11:27:46 mrg Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -182,9 +182,9 @@
 
        # System call names are included by userland (kdump(1)), so
        # hide the include files from it.
-       printf "#if defined(_KERNEL) && !defined(_LKM)\n" > sysnames
+       printf "#if defined(_KERNEL_OPT)\n" > sysnames
 
-       printf "#endif /* _KERNEL && ! _LKM */\n\n" > sysnamesbottom
+       printf "#endif /* _KERNEL_OPT */\n\n" > sysnamesbottom
        printf "const char *const %s[] = {\n",namesname > sysnamesbottom
 
        printf " * created from%s\n */\n\n", $0 > sysnumhdr



Home | Main Index | Thread Index | Old Index