[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/5] RTC: Add UIP(update in progress) check logic
> -----Original Message----- > From: Tim Deegan [mailto:tim@xxxxxxx] > Sent: Tuesday, March 06, 2012 4:38 AM > To: Zhang, Yang Z > Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Jan Beulich > Subject: Re: [Xen-devel] [PATCH 3/5] RTC: Add UIP(update in progress) check > logic > > No comment on the rest of the series, but this caught my eye: > > At 08:25 +0000 on 05 Mar (1330935936), Zhang, Yang Z wrote: > > +/* Return millisecs after 00:00:00 localtime, 1 January, 1970. */ > > +uint64_t get_localtime_us(struct domain *d) { > > + return ((wc_sec + d->time_offset_seconds) * 1000000000ULL > > + + wc_nsec + NOW()) / 1000UL; > > +} > > + > > The comment says milliseconds but the code does microseconds. Which is > right? A typo. It should be microseconds not miliseconds. best regards yang _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |