summaryrefslogtreecommitdiffstats
path: root/drivers/xen/features.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drivers/xen/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/features.c b/drivers/xen/features.c
index d7d34fdfc..f466f7766 100644
--- a/drivers/xen/features.c
+++ b/drivers/xen/features.c
@@ -28,6 +28,6 @@ void xen_setup_features(void)
if (HYPERVISOR_xen_version(XENVER_get_features, &fi) < 0)
break;
for (j = 0; j < 32; j++)
- xen_features[i * 32 + j] = !!(fi.submap & 1<<j);
+ xen_features[i * 32 + j] = !!(fi.submap & 1U << j);
}
}