Skip to contentSkip to conversation

trivial: fix grammo in tsc comment about Geode TSC reliability

PATCH In review Thadeu Lima de Souza Cascardo 2 participants 3 messages Jan 17, 2010 – Jan 19, 2010 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial: fix grammo in tsc comment about Geode TSC reliability

---
 arch/x86/kernel/tsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/tsc.c +1 -1
index 597683a..23066ec 100644
@@ -806,7 +806,7 @@ static void __init check_system_tsc_reliable(void)
 	unsigned long res_low, res_high;
 
 	rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high);
-	/* Geode_LX - the OLPC CPU has a possibly a very reliable TSC */
+	/* Geode_LX - the OLPC CPU has a very reliable TSC */
 	if (res_low & RTSC_SUSP)
 		tsc_clocksource_reliable = 1;
 #endif
Signature · 1 line
1.6.6
Acked-by on v1 1/1
#1 lore raw

That code should probably exist for generic kernels (distro kernels that aren't compiled specifically for GEODE_LX). Currently it's #ifdef'd..

Quoted 19 lines · On Sun, 17 Jan 2010 19:44:44 -0200 Thadeu Lima de Souza Cascardo…
---
 arch/x86/kernel/tsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/tsc.c +0 -1
index 597683a..23066ec 100644
@@ -806,7 +806,7 @@ static void __init check_system_tsc_reliable(void)
 	unsigned long res_low, res_high;
 
 	rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high);
-	/* Geode_LX - the OLPC CPU has a possibly a very reliable

TSC */

arch/x86/kernel/tsc.c +1 -0
+	/* Geode_LX - the OLPC CPU has a very reliable TSC */
 	if (res_low & RTSC_SUSP)
 		tsc_clocksource_reliable = 1;
 #endif
#2 lore raw

[tip:x86/cleanups] x86, trivial: Fix grammo in tsc comment about Geode TSC reliability

In reply to Thadeu Lima de Souza Cascardo
Commit-ID:  00097c4fdf117d9845d772f571a987ae95523f8c
Gitweb:     http://git.kernel.org/tip/00097c4fdf117d9845d772f571a987ae95523f8c
Author:     Thadeu Lima de Souza Cascardo <[email protected]>
AuthorDate: Sun, 17 Jan 2010 19:44:44 -0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 18 Jan 2010 09:01:39 +0100

x86, trivial: Fix grammo in tsc comment about Geode TSC reliability

LKML-Reference: <[email protected]>

---
 arch/x86/kernel/tsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/tsc.c +1 -1
index 597683a..23066ec 100644
@@ -806,7 +806,7 @@ static void __init check_system_tsc_reliable(void)
 	unsigned long res_low, res_high;
 
 	rdmsr_safe(MSR_GEODE_BUSCONT_CONF0, &res_low, &res_high);
-	/* Geode_LX - the OLPC CPU has a possibly a very reliable TSC */
+	/* Geode_LX - the OLPC CPU has a very reliable TSC */
 	if (res_low & RTSC_SUSP)
 		tsc_clocksource_reliable = 1;
 #endif