|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: [PATCH 2/6] trace: fix T_INFO_FIRST_OFFSET
On 01/07/10 10:49, Jan Beulich wrote:
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])?
Ah... forgot about that one. Thanks, I'll modify that in my patch series.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|