]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf4c028d5d3979ef4a68a0cf4ce5023441ba2e94b
treedb09f25e4cb4517d7afb911d88478d376dc1b3dd
parent23c96a2a89fa6457a0b1cf4b617f0cc097b18753
[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