svn commit: r216276 - in head/sys: amd64/amd64 i386/i386

Jung-uk Kim jkim at FreeBSD.org
Tue Dec 7 22:43:26 UTC 2010


Author: jkim
Date: Tue Dec  7 22:43:25 2010
New Revision: 216276
URL: http://svn.freebsd.org/changeset/base/216276

Log:
  Remove stale comments about P-state invariant TSC and fix style(9) nits.

Modified:
  head/sys/amd64/amd64/identcpu.c
  head/sys/amd64/amd64/tsc.c
  head/sys/i386/i386/identcpu.c
  head/sys/i386/i386/tsc.c

Modified: head/sys/amd64/amd64/identcpu.c
==============================================================================
--- head/sys/amd64/amd64/identcpu.c	Tue Dec  7 22:34:51 2010	(r216275)
+++ head/sys/amd64/amd64/identcpu.c	Tue Dec  7 22:43:25 2010	(r216276)
@@ -437,10 +437,8 @@ panicifcpuunsupported(void)
 static void
 tsc_freq_changed(void *arg __unused, const struct cf_level *level, int status)
 {
-	/*
-	 * If there was an error during the transition or
-	 * TSC is P-state invariant, don't do anything.
-	 */
+
+	/* If there was an error during the transition, don't do anything. */
 	if (status != 0)
 		return;
 

Modified: head/sys/amd64/amd64/tsc.c
==============================================================================
--- head/sys/amd64/amd64/tsc.c	Tue Dec  7 22:34:51 2010	(r216275)
+++ head/sys/amd64/amd64/tsc.c	Tue Dec  7 22:43:25 2010	(r216276)
@@ -216,10 +216,8 @@ tsc_freq_changing(void *arg, const struc
 static void
 tsc_freq_changed(void *arg, const struct cf_level *level, int status)
 {
-	/*
-	 * If there was an error during the transition or
-	 * TSC is P-state invariant, don't do anything.
-	 */
+
+	/* If there was an error during the transition, don't do anything. */
 	if (status != 0)
 		return;
 

Modified: head/sys/i386/i386/identcpu.c
==============================================================================
--- head/sys/i386/i386/identcpu.c	Tue Dec  7 22:34:51 2010	(r216275)
+++ head/sys/i386/i386/identcpu.c	Tue Dec  7 22:43:25 2010	(r216276)
@@ -1053,10 +1053,8 @@ identifycyrix(void)
 static void
 tsc_freq_changed(void *arg __unused, const struct cf_level *level, int status)
 {
-	/*
-	 * If there was an error during the transition or
-	 * TSC is P-state invariant, don't do anything.
-	 */
+
+	/* If there was an error during the transition, don't do anything. */
 	if (status != 0)
 		return;
 

Modified: head/sys/i386/i386/tsc.c
==============================================================================
--- head/sys/i386/i386/tsc.c	Tue Dec  7 22:34:51 2010	(r216275)
+++ head/sys/i386/i386/tsc.c	Tue Dec  7 22:43:25 2010	(r216276)
@@ -244,10 +244,8 @@ tsc_freq_changing(void *arg, const struc
 static void
 tsc_freq_changed(void *arg, const struct cf_level *level, int status)
 {
-	/*
-	 * If there was an error during the transition or
-	 * TSC is P-state invariant, don't do anything.
-	 */
+
+	/* If there was an error during the transition, don't do anything. */
 	if (status != 0)
 		return;
 


More information about the svn-src-head mailing list