diff options
-rw-r--r-- | kernel/cgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 947fe3b22182..841259361724 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -319,7 +319,7 @@ static struct css_set *find_existing_css_set( | |||
319 | /* Built the set of subsystem state objects that we want to | 319 | /* Built the set of subsystem state objects that we want to |
320 | * see in the new css_set */ | 320 | * see in the new css_set */ |
321 | for (i = 0; i < CGROUP_SUBSYS_COUNT; i++) { | 321 | for (i = 0; i < CGROUP_SUBSYS_COUNT; i++) { |
322 | if (root->subsys_bits & (1ull << i)) { | 322 | if (root->subsys_bits & (1UL << i)) { |
323 | /* Subsystem is in this hierarchy. So we want | 323 | /* Subsystem is in this hierarchy. So we want |
324 | * the subsystem state from the new | 324 | * the subsystem state from the new |
325 | * cgroup */ | 325 | * cgroup */ |
@@ -689,7 +689,7 @@ static int rebind_subsystems(struct cgroupfs_root *root, | |||
689 | added_bits = final_bits & ~root->actual_subsys_bits; | 689 | added_bits = final_bits & ~root->actual_subsys_bits; |
690 | /* Check that any added subsystems are currently free */ | 690 | /* Check that any added subsystems are currently free */ |
691 | for (i = 0; i < CGROUP_SUBSYS_COUNT; i++) { | 691 | for (i = 0; i < CGROUP_SUBSYS_COUNT; i++) { |
692 | unsigned long long bit = 1ull << i; | 692 | unsigned long bit = 1UL << i; |
693 | struct cgroup_subsys *ss = subsys[i]; | 693 | struct cgroup_subsys *ss = subsys[i]; |
694 | if (!(bit & added_bits)) | 694 | if (!(bit & added_bits)) |
695 | continue; | 695 | continue; |