aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/tsc_sync.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/kernel/tsc_sync.c b/arch/x86/kernel/tsc_sync.c
index 9125efe66a06..05d8f25de6ae 100644
--- a/arch/x86/kernel/tsc_sync.c
+++ b/arch/x86/kernel/tsc_sync.c
@@ -129,24 +129,24 @@ void __cpuinit check_tsc_sync_source(int cpu)
129 while (atomic_read(&stop_count) != cpus-1) 129 while (atomic_read(&stop_count) != cpus-1)
130 cpu_relax(); 130 cpu_relax();
131 131
132 /*
133 * Reset it - just in case we boot another CPU later:
134 */
135 atomic_set(&start_count, 0);
136
137 if (nr_warps) { 132 if (nr_warps) {
138 printk("\n"); 133 printk("\n");
139 printk(KERN_WARNING "Measured %Ld cycles TSC warp between CPUs," 134 printk(KERN_WARNING "Measured %Ld cycles TSC warp between CPUs,"
140 " turning off TSC clock.\n", max_warp); 135 " turning off TSC clock.\n", max_warp);
141 mark_tsc_unstable("check_tsc_sync_source failed"); 136 mark_tsc_unstable("check_tsc_sync_source failed");
142 nr_warps = 0;
143 max_warp = 0;
144 last_tsc = 0;
145 } else { 137 } else {
146 printk(" passed.\n"); 138 printk(" passed.\n");
147 } 139 }
148 140
149 /* 141 /*
142 * Reset it - just in case we boot another CPU later:
143 */
144 atomic_set(&start_count, 0);
145 nr_warps = 0;
146 max_warp = 0;
147 last_tsc = 0;
148
149 /*
150 * Let the target continue with the bootup: 150 * Let the target continue with the bootup:
151 */ 151 */
152 atomic_inc(&stop_count); 152 atomic_inc(&stop_count);