Subject: [PATCH] trivial: fix grammo in tsc comment about Geode TSC reliability

Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
---
arch/x86/kernel/tsc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index 597683a..23066ec 100644
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -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
--
1.6.6


2010-01-18 15:16:46

by Andres Salomon

[permalink] [raw]
Subject: Re: [PATCH] trivial: fix grammo in tsc comment about Geode TSC reliability

Acked-by: Andres Salomon <[email protected]>

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


On Sun, 17 Jan 2010
19:44:44 -0200 Thadeu Lima de Souza Cascardo <[email protected]>
wrote:

> Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
> ---
> arch/x86/kernel/tsc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
> index 597683a..23066ec 100644
> --- a/arch/x86/kernel/tsc.c
> +++ b/arch/x86/kernel/tsc.c
> @@ -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

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

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

Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
arch/x86/kernel/tsc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index 597683a..23066ec 100644
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -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