[Midnightbsd-cvs] src [6575] trunk/sys/x86/cpufreq/p4tcc.c: fix logic reversal in setting auto_mode flag

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Dec 29 15:31:14 EST 2013


Revision: 6575
          http://svnweb.midnightbsd.org/src/?rev=6575
Author:   laffer1
Date:     2013-12-29 15:31:14 -0500 (Sun, 29 Dec 2013)
Log Message:
-----------
fix logic reversal in setting auto_mode flag

Modified Paths:
--------------
    trunk/sys/x86/cpufreq/p4tcc.c

Modified: trunk/sys/x86/cpufreq/p4tcc.c
===================================================================
--- trunk/sys/x86/cpufreq/p4tcc.c	2013-12-29 20:27:53 UTC (rev 6574)
+++ trunk/sys/x86/cpufreq/p4tcc.c	2013-12-29 20:31:14 UTC (rev 6575)
@@ -296,8 +296,6 @@
 	 * what the current mode.
 	 */
 	if (msr & TCC_ENABLE_ONDEMAND)
-		sc->auto_mode = TRUE;
-	else
 		sc->auto_mode = FALSE;
 
 	return (0);



More information about the Midnightbsd-cvs mailing list