Date: Mon, 23 Mar 2009 21:16:21 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_rtc.c Message-ID: <200903232116.n2NLGPcj087828@repoman.freebsd.org>
index | next in thread | raw e-mail
jkim 2009-03-23 21:16:21 UTC
FreeBSD src repository
Modified files:
sys/kern subr_rtc.c
Log:
SVN rev 190337 on 2009-03-23 21:16:21Z by jkim
Clean up MI inittodr(9) and kill noop code.
It was derived from i386 version long ago but never resync'ed again.
Originally, i386 version compared the current time from realtime clock
with time_second (which was just `time' in the old days). When this MI
version was written, it was wrongly compared against `base' AND never
used because of a bug (typo?) in the code. This check was killed
in i386 version when home-rolled calendaric calculation was removed.
Now, we just remove the code here as well to make the code simpler.
Revision Changes Path
1.12 +13 -21 src/sys/kern/subr_rtc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903232116.n2NLGPcj087828>
