Displaying 1 result from an estimated 1 matches for "new_scombo".
2006 Aug 11
2
[PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way.
...} shorts;
+};
+
#define PIN_FAIL(_lbl, _rc, _f, _a...) \
do { \
DPRINTK( _f, ## _a ); \
@@ -177,7 +188,7 @@ __gnttab_map_grant_ref(
*/
for ( ; ; )
{
- u32 scombo, prev_scombo, new_scombo;
+ union grant_combo scombo, prev_scombo, new_scombo;
if ( unlikely((sflags & GTF_type_mask) != GTF_permit_access) ||
unlikely(sdom != led->domain->domain_id) )
@@ -186,22 +197,25 @@ __gnttab_map_grant_ref(
sflags, sdom...