]> err.no Git - linux-2.6/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)
commitaa026ede513b7d672fa7d9106b2f2a475455dcf2
tree13a4e7934f3597336ebdfde1d720b5f2c877ad6e
parentcb7fabcf9d4340b61f012cc7e8e3d7ff5c4f441c
[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