patch-2.1.103 linux/kernel/time.c

Next file: linux/scripts/tkcond.c
Previous file: linux/kernel/sys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/kernel/time.c linux/kernel/time.c
@@ -262,7 +262,7 @@
 	    if (txc->modes & ADJ_TIMECONST)
 		time_constant = txc->constant;
 
-	    if (txc->modes & ADJ_OFFSET)
+	    if (txc->modes & ADJ_OFFSET) {
 	      if ((txc->modes == ADJ_OFFSET_SINGLESHOT)
 		  || !(time_status & STA_PLL))
 		{
@@ -327,6 +327,7 @@
 		  else if (time_freq < -time_tolerance)
 		    time_freq = -time_tolerance;
 		} /* STA_PLL || STA_PPSTIME */
+	    }
 	    if (txc->modes & ADJ_TICK)
 	      tick = txc->tick;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov