summaryrefslogtreecommitdiffstats
path: root/hwclock/kd.c
Commit message (Collapse)AuthorAgeFilesLines
* replace usleep() for systems that don't have themDaniel Mierswa2009-08-211-0/+1
| | | | | | | | | This function is marked obsolete in POSIX.1-2001 and removed in POSIX.1-2008. Conditionally replaced with nanosleep(). Signed-off-by: Daniel Mierswa <impulze@impulze.org>
* hwclocks: use time limit for KDGHWCLK busy waitKarel Zak2009-08-201-19/+19
| | | | | | | | 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: clock.h is included more than onceKarel Zak2008-11-261-4/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: remove tailing white-spaces and clean up clock.hKarel Zak2007-03-211-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: add support for audit systemKarel Zak2007-03-211-2/+2
| | | | | | | | | If you compile --with-audit the hwclock tool reports changes in sys/hw clock to audit system. The real long-term and final solution is probably add hooks for /dev/rtc to kernel, but it's not implemented yet. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.12l tarball.Karel Zak2006-12-071-0/+1
|
* Imported from util-linux-2.12i tarball.Karel Zak2006-12-071-3/+13
|
* Imported from util-linux-2.11t tarball.Karel Zak2006-12-071-1/+2
|
* Imported from util-linux-2.11f tarball.Karel Zak2006-12-071-17/+25
|
* Imported from util-linux-2.11b tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-071-0/+167