]> err.no Git - util-linux/commit
hwclocks: use time limit for KDGHWCLK busy wait
authorKarel Zak <kzak@redhat.com>
Thu, 20 Aug 2009 13:46:10 +0000 (15:46 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 20 Aug 2009 13:46:10 +0000 (15:46 +0200)
commit102f5d89d942ee54c5b9a5adfb04df8a5b09177f
treef906ec0deb9f2507f1707cdea9985e105ccbec00
parent3f99aaf1c95fa39e54d27324da777ebd3721c7de
hwclocks: use time limit for KDGHWCLK busy wait

Currently the busy wait in synchronize_to_clock_tick_kd() is
restricted by number of loops. It's better to use time limit
(1.5s). We already use this method for RTC.

Signed-off-by: Karel Zak <kzak@redhat.com>
hwclock/kd.c