Skip to contentSkip to conversation

remove duplicate call to use_tsc_delay.

PATCH Applied Glauber Costa 3 participants 3 messages Jul 10, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove duplicate call to use_tsc_delay.

Integration generated a duplicate call to use_tsc_delay. Particularly, the one that is done before we check for general tsc usability seems wrong.

---
 arch/x86/kernel/tsc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kernel/tsc.c +0 -1
index 4a775d0..3c36f92 100644
@@ -513,7 +513,6 @@ void __init tsc_init(void)
 	 */
 	for_each_possible_cpu(cpu)
 		set_cyc2ns_scale(cpu_khz, cpu);
-	use_tsc_delay();
 
 	if (tsc_disabled > 0)
 		return;
Signature · 1 line
1.5.5.1
Acked-by Alok N Kataria on v1 1/1
#1 lore raw

My bad,

Thanks !!.
--
Alok

Quoted 30 lines · Glauber Costa

Integration generated a duplicate call to use_tsc_delay. Particularly, the one that is done before we check for general tsc usability seems wrong.

---
 arch/x86/kernel/tsc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kernel/tsc.c +0 -2
index 4a775d0..3c36f92 100644
@@ -513,7 +513,6 @@ void __init tsc_init(void)
        */
       for_each_possible_cpu(cpu)
               set_cyc2ns_scale(cpu_khz, cpu);
-       use_tsc_delay();
 
       if (tsc_disabled > 0)
               return;
--

1.5.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Applied
#2 lore raw
In reply to Glauber Costa
Quoted 3 lines · Glauber Costa

Integration generated a duplicate call to use_tsc_delay. Particularly, the one that is done before we check for general tsc usability seems wrong.

applied to tip/x86/core - thanks Glauber.

Ingo