svn commit: r307662 - head/sys/kern

Kevin Lo kevlo at FreeBSD.org
Thu Oct 20 01:19:39 UTC 2016


Author: kevlo
Date: Thu Oct 20 01:19:37 2016
New Revision: 307662
URL: https://svnweb.freebsd.org/changeset/base/307662

Log:
  Remove a sentence about putting initialization in init_proc.c or kern_proc.c
  and useless comment.
  
  Reviewed by:	kib

Modified:
  head/sys/kern/init_main.c

Modified: head/sys/kern/init_main.c
==============================================================================
--- head/sys/kern/init_main.c	Wed Oct 19 22:19:38 2016	(r307661)
+++ head/sys/kern/init_main.c	Thu Oct 20 01:19:37 2016	(r307662)
@@ -316,15 +316,6 @@ restart:
 	/* NOTREACHED*/
 }
 
-
-/*
- ***************************************************************************
- ****
- **** The following SYSINIT's belong elsewhere, but have not yet
- **** been moved.
- ****
- ***************************************************************************
- */
 static void
 print_caddr_t(void *data)
 {
@@ -418,17 +409,10 @@ struct sysentvec null_sysvec = {
 };
 
 /*
- ***************************************************************************
- ****
- **** The two following SYSINIT's are proc0 specific glue code.  I am not
- **** convinced that they can not be safely combined, but their order of
- **** operation has been maintained as the same as the original init_main.c
- **** for right now.
- ****
- **** These probably belong in init_proc.c or kern_proc.c, since they
- **** deal with proc0 (the fork template process).
- ****
- ***************************************************************************
+ * The two following SYSINIT's are proc0 specific glue code.  I am not
+ * convinced that they can not be safely combined, but their order of
+ * operation has been maintained as the same as the original init_main.c
+ * for right now.
  */
 /* ARGSUSED*/
 static void
@@ -662,16 +646,6 @@ SYSINIT(random, SI_SUB_RANDOM, SI_ORDER_
  ***************************************************************************
  */
 
-
-/*
- ***************************************************************************
- ****
- **** The following code probably belongs in another file, like
- **** kern/init_init.c.
- ****
- ***************************************************************************
- */
-
 /*
  * List of paths to try when searching for "init".
  */


More information about the svn-src-head mailing list