[ntp:bk-ntp-dev-send] BitKeeper diffs

Harlan Stenn stenn at deacon.udel.edu
Sun Oct 9 20:45:57 UTC 2011


#### ChangeSet ####
2011-10-09 20:33:29+00:00, davehart at shiny.ad.hartbrothers.com
  DLM does not want STA_UNSYNC set in kernel when ntpd exits.

==== ntpd/ntp_loopfilter.c ====
2011-10-09 20:33:27+00:00, davehart at shiny.ad.hartbrothers.com +1 -17
  DLM does not want STA_UNSYNC set in kernel when ntpd exits.

--- 1.167/ntpd/ntp_loopfilter.c	2011-10-09 01:08:20 -04:00
+++ 1.168/ntpd/ntp_loopfilter.c	2011-10-09 16:33:27 -04:00
@@ -898,14 +898,9 @@ start_kern_loop(void)
 static void
 stop_kern_loop(void)
 {
-	if (pll_control && kern_enable) {
-		ZERO(ntv);
-		ntv.modes = MOD_STATUS;
-		ntv.status = STA_UNSYNC;
-		ntp_adjtime(&ntv);
+	if (pll_control && kern_enable)
 		report_event(EVNT_KERN, NULL,
 		    "kernel time sync disabled");
-	}
 }
 #endif	/* KERNEL_PLL */
 
@@ -1014,18 +1009,7 @@ loop_config(
 #endif /* LOCKCLOCK */
 		break;
 
-	/*
-	 * Disable the kernel at shutdown. The microkernel just abandons
-	 * ship. The nanokernel carefully cleans up so applications can
-	 * see this. Note the last programmed offset and frequency are
-	 * left in place.
-	 */
 	case LOOP_KERN_CLEAR:
-#ifndef LOCKCLOCK
-#ifdef KERNEL_PLL
-		stop_kern_loop();
-#endif /* KERNEL_PLL */
-#endif /* LOCKCLOCK */
 		break;
 
 	/*


More information about the bk-ntp-dev-send mailing list