Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2010 22:43:25 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216276 - in head/sys: amd64/amd64 i386/i386
Message-ID:  <201012072243.oB7MhP5L082366@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012072243.oB7MhP5L082366>