[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [PATCH 2/6] trace: fix T_INFO_FIRST_OFFSET



>>> On 30.06.10 at 18:12, George Dunlap <George.Dunlap@xxxxxxxxxxxxx> wrote:
>+    offset_in_bytes = ((char *)&((struct t_info 
>*)(NULL))->mfn_offset[NR_CPUS]) - (char *)(NULL);

Why can't this just be offsetof(struct t_info, mfn_offset[NR_CPUS])?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.