]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitff08f76d738d0ec0f334b187f61e160caa321d54
tree503270382231a0956026b7926fc5144c24ecfa14
parent7d8e23df69820e6be42bcc41d441f4860e8c76f7
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