[PATCH] hpet: use read_timer_tsc only when CPU has TSC
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Sat, 3 Sep 2005 22:56:27 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:09 +0000 (00:06 -0700)
commit4116c527ea9517623369a5b3b037aedde280d672
treedb09f25e4cb4517d7afb911d88478d376dc1b3dd
parent869f96a00e8f53c7db8470ca9cf72e2e3fa40119
[PATCH] hpet: use read_timer_tsc only when CPU has TSC

Only use read_timer_tsc only when CPU has TSC.  Thanks to Andrea for
pointing this out.  Should not be issue on any platforms as all recent
systems that has HPET also has CPUs that supports TSC.  The patch is still
required for correctness.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/timers/timer_hpet.c