Source-Changes-HG archive

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

[src/trunk]: src/sys Make kernel continuations optional for now.



details:   https://anonhg.NetBSD.org/src/rev/8bdc17ae388f
branches:  trunk
changeset: 560121:8bdc17ae388f
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Mar 28 22:43:56 2004 +0000

description:
Make kernel continuations optional for now.

diffstat:

 sys/conf/files       |  7 ++++---
 sys/kern/init_main.c |  7 +++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (74 lines):

diff -r e01348404258 -r 8bdc17ae388f sys/conf/files
--- a/sys/conf/files    Sun Mar 28 22:43:03 2004 +0000
+++ b/sys/conf/files    Sun Mar 28 22:43:56 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.661 2004/03/20 03:12:47 jonathan Exp $
+#      $NetBSD: files,v 1.662 2004/03/28 22:43:56 matt Exp $
 
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
@@ -16,6 +16,7 @@
 defflag                                INSECURE
 defflag                                MBUFTRACE
 defflag                                KMEMSTATS
+defflag                                KCONT
 defflag                                KTRACE
 defflag                                SYSTRACE
 defparam                       MAXUPRC
@@ -1135,10 +1136,9 @@
 file   kern/kern_exec.c
 file   kern/kern_exit.c
 file   kern/kern_fork.c
-file   kern/kern_kcont.c
+file   kern/kern_kcont.c               kcont
 file   kern/kern_kthread.c
 file   kern/kern_ktrace.c
-file   kern/kern_systrace.c            systrace
 file   kern/kern_ksyms.c               ksyms | ddb | lkm needs-flag
 file   kern/kern_lkm.c                 lkm
 file   kern/kern_lock.c
@@ -1153,6 +1153,7 @@
 file   kern/kern_resource.c
 file   kern/kern_sa.c
 file   kern/kern_sig.c
+file   kern/kern_systrace.c            systrace
 file   kern/kern_subr.c
 file   kern/kern_synch.c
 file   kern/kern_sysctl.c
diff -r e01348404258 -r 8bdc17ae388f sys/kern/init_main.c
--- a/sys/kern/init_main.c      Sun Mar 28 22:43:03 2004 +0000
+++ b/sys/kern/init_main.c      Sun Mar 28 22:43:56 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init_main.c,v 1.234 2004/03/27 00:42:38 jonathan Exp $ */
+/*     $NetBSD: init_main.c,v 1.235 2004/03/28 22:43:56 matt Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.234 2004/03/27 00:42:38 jonathan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.235 2004/03/28 22:43:56 matt Exp $");
 
 #include "fs_nfs.h"
 #include "opt_nfsserver.h"
@@ -83,6 +83,7 @@
 #include "opt_syscall_debug.h"
 #include "opt_systrace.h"
 #include "opt_posix.h"
+#include "opt_kcont.h"
 
 #include "opencrypto.h"
 #include "rnd.h"
@@ -268,8 +269,10 @@
        /* Initialize sockets. */
        soinit();
 
+#ifdef KCONT
        /* Initialize kcont. */
         kcont_init();
+#endif
 
        /*
         * The following things must be done before autoconfiguration.



Home | Main Index | Thread Index | Old Index