[Midnightbsd-cvs] src [8340] trunk/sys/kern/kern_tc.c: revert this part of the change

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 18 14:04:07 EDT 2016


Revision: 8340
          http://svnweb.midnightbsd.org/src/?rev=8340
Author:   laffer1
Date:     2016-09-18 14:04:07 -0400 (Sun, 18 Sep 2016)
Log Message:
-----------
revert this part of the change

Modified Paths:
--------------
    trunk/sys/kern/kern_tc.c

Modified: trunk/sys/kern/kern_tc.c
===================================================================
--- trunk/sys/kern/kern_tc.c	2016-09-18 15:41:36 UTC (rev 8339)
+++ trunk/sys/kern/kern_tc.c	2016-09-18 18:04:07 UTC (rev 8340)
@@ -515,9 +515,9 @@
 	/* Now is a good time to change timecounters. */
 	if (th->th_counter != timecounter) {
 #ifndef __arm__
-		if ((timecounter->tc_flags & TC_FLAGS_C3STOP) != 0)
+		if ((timecounter->tc_flags & TC_FLAGS_C2STOP) != 0)
 			cpu_disable_deep_sleep++;
-		if ((th->th_counter->tc_flags & TC_FLAGS_C3STOP) != 0)
+		if ((th->th_counter->tc_flags & TC_FLAGS_C2STOP) != 0)
 			cpu_disable_deep_sleep--;
 #endif
 		th->th_counter = timecounter;



More information about the Midnightbsd-cvs mailing list