]> git.baikalelectronics.ru Git - kernel.git/commit
x86: clean up hpet timer reinit
authorPavel Emelyanov <xemul@openvz.org>
Wed, 4 Feb 2009 10:40:31 +0000 (13:40 +0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Feb 2009 14:07:13 +0000 (15:07 +0100)
commitc503705dcd5ec7942f509197a42fdd10954691fa
tree503270382231a0956026b7926fc5144c24ecfa14
parent7a317d2266ac440e31bdf7e1795d846c77caaa88
x86: clean up hpet timer reinit

Implement Linus's suggestion: introduce the hpet_cnt_ahead()
helper function to compare hpet time values - like other
wrapping counter comparisons are abstracted away elsewhere.
(jiffies, ktime_t, etc.)

Reported-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/hpet.c