Date: Wed, 3 Jan 2001 22:01:04 +0100 From: Alexander Langer <alex@big.endian.de> To: Bruce Evans <bde@zeta.org.au> Cc: arch@FreeBSD.ORG Subject: Re: (fwd) getnanouptime() patch Message-ID: <20010103220104.A2132@cichlids.cichlids.com> In-Reply-To: <Pine.BSF.4.21.0101020544220.10677-100000@besplex.bde.org>; from bde@zeta.org.au on Tue, Jan 02, 2001 at 05:48:14AM %2B1100 References: <20010101135955.A4625@cichlids.cichlids.com> <Pine.BSF.4.21.0101020544220.10677-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Bruce Evans (bde@zeta.org.au): > > #ifdef KTR > > if (tc == NULL) { /* called before initialization */ > > ts->tv_sec = 0; > > ts->tv_nsec = 0; > > return; > > } > > #endif > This is bogus at best. `timecounter' is never NULL unless there is a bug > switching it. Would someone then please change that? A check if (timecounter == &dummy_timecounter) is the correct one (IMHO), as shown in the tc_init() function. Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103220104.A2132>