Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79706
b: refs/heads/master
c: 4c6b8b4
h: refs/heads/master
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Jan 30, 2008
1 parent ce7ee98 commit 8b6051a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c9c9bec0589be696c70c5efb448b17d5ab720e2
refs/heads/master: 4c6b8b4d62fb4cb843c32db71e0a8301039908f3
16 changes: 8 additions & 8 deletions trunk/arch/x86/kernel/tsc_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,23 +129,23 @@ void __cpuinit check_tsc_sync_source(int cpu)
while (atomic_read(&stop_count) != cpus-1)
cpu_relax();

/*
* Reset it - just in case we boot another CPU later:
*/
atomic_set(&start_count, 0);

if (nr_warps) {
printk("\n");
printk(KERN_WARNING "Measured %Ld cycles TSC warp between CPUs,"
" turning off TSC clock.\n", max_warp);
mark_tsc_unstable("check_tsc_sync_source failed");
nr_warps = 0;
max_warp = 0;
last_tsc = 0;
} else {
printk(" passed.\n");
}

/*
* Reset it - just in case we boot another CPU later:
*/
atomic_set(&start_count, 0);
nr_warps = 0;
max_warp = 0;
last_tsc = 0;

/*
* Let the target continue with the bootup:
*/
Expand Down

0 comments on commit 8b6051a

Please sign in to comment.