]> git.hungrycats.org Git - linux/commit
[PATCH] x86_64: use TSC on SMP EM64T machines
authorAndi Kleen <ak@muc.de>
Wed, 20 Oct 2004 01:11:26 +0000 (18:11 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 20 Oct 2004 01:11:26 +0000 (18:11 -0700)
commit845d4284d6499c55f9ce2633ce9ae76890f19458
treee244c4c1e6c27ae8b7b747afa3cd36ac9a8b3962
parentca71c0031b8c26fa202d4fb18811112d3f86794e
[PATCH] x86_64: use TSC on SMP EM64T machines

x86-64 MP kernels always used HPET timing when available.  This was done
because AMD systems don't have synchronized TSCs in all cases.  On Intel
this is not true (except Summit), so use faster TSC timing for those.

Also only enable HPET gettimeofday when there is more than one CPU online.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/time.c