>>> 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
|