lkml.org 
[lkml]   [2012]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Xen-devel] [PATCH 01/24] arm: initial Xen support
> > > +struct pvclock_wall_clock {
> > > + u32 version;
> > > + u32 sec;
> > > + u32 nsec;
> > > +} __attribute__((__packed__));
> >
> > That is weird. It is 4+4+4 = 12 bytes? Don't you want it to be 16 bytes?
>
> I agree that 16 bytes would be a better choice, but it needs to match
> the struct in Xen that is defined as follow:
>
> uint32_t wc_version; /* Version counter: see vcpu_time_info_t. */
> uint32_t wc_sec; /* Secs 00:00:00 UTC, Jan 1, 1970. */
> uint32_t wc_nsec; /* Nsecs 00:00:00 UTC, Jan 1, 1970. */

Would it make sense to add some paddigin then at least? In both
cases? Or is it too late for this?


\
 
 \ /
  Last update: 2012-08-01 13:41    [W:0.355 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site