]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86-64: Fix C3 timer test
authorAndi Kleen <ak@suse.de>
Sat, 21 Oct 2006 22:41:15 +0000 (00:41 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Sat, 21 Oct 2006 22:41:15 +0000 (00:41 +0200)
commit7fdcb43e80034b282cd360928c7cb7c6038ee40f
tree13a4e7934f3597336ebdfde1d720b5f2c877ad6e
parent7c3b468185db9ca3cfa6b669d72a9bcb69669a84
[PATCH] x86-64: Fix C3 timer test

There was a typo in the C3 latency test to decide of the TSC
should be used or not. It used the C2 latency threshold, not the
C3 one. Fix that.

This should fix the time on various dual core laptops.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/time.c