Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2010 08:09:45 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r213559 - in stable/7/sys: gdb kern
Message-ID:  <201010080809.o9889jMH084016@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri Oct  8 08:09:45 2010
New Revision: 213559
URL: http://svn.freebsd.org/changeset/base/213559

Log:
  MFC r213305: there must be only one SYSINIT with
  SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order

Modified:
  stable/7/sys/gdb/gdb_cons.c
  stable/7/sys/kern/kern_ntptime.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/gdb/gdb_cons.c
==============================================================================
--- stable/7/sys/gdb/gdb_cons.c	Fri Oct  8 08:01:36 2010	(r213558)
+++ stable/7/sys/gdb/gdb_cons.c	Fri Oct  8 08:09:45 2010	(r213559)
@@ -126,7 +126,7 @@ oktousecallout(void *data __unused)
 {
 	calloutok = 1;
 }
-SYSINIT(gdbhack, SI_SUB_RUN_SCHEDULER, SI_ORDER_ANY, oktousecallout, NULL);
+SYSINIT(gdbhack, SI_SUB_RUN_SCHEDULER, SI_ORDER_MIDDLE, oktousecallout, NULL);
 
 static void
 gdb_cnputc(struct consdev *cp, int c)

Modified: stable/7/sys/kern/kern_ntptime.c
==============================================================================
--- stable/7/sys/kern/kern_ntptime.c	Fri Oct  8 08:01:36 2010	(r213558)
+++ stable/7/sys/kern/kern_ntptime.c	Fri Oct  8 08:09:45 2010	(r213559)
@@ -1037,5 +1037,5 @@ start_periodic_resettodr(void *arg __unu
 	    periodic_resettodr, NULL);
 }
 
-SYSINIT(periodic_resettodr, SI_SUB_RUN_SCHEDULER, SI_ORDER_ANY - 1,
+SYSINIT(periodic_resettodr, SI_SUB_RUN_SCHEDULER, SI_ORDER_MIDDLE,
 	start_periodic_resettodr, NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010080809.o9889jMH084016>