[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [patch] double incrementing l2tab
For PAE, l2e_get_phys() will look something like this: #define l2e_get_phys(_x) ((((u64)(_x).l2_hi & 0x0f) << 32) |\ ((u64)(_x).l2_lo & PAGE_MASK)) Thus l2e_get_phys(++foo) is not safe, as the increment will be evaluated multiple times and at undefined times. sRp -- Scott Parish Signed-off-by: srparish@xxxxxxxxxx Attachment:
double-inc.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |