{cgroup_convert_unmappable, "cpuset.sched_load_balance", NULL, NULL, NULL},
{cgroup_convert_unmappable, "cpuset.sched_relax_domain_level", NULL, NULL, NULL},
};
-const int cgroup_v1_to_v2_map_sz = sizeof(cgroup_v1_to_v2_map) / sizeof(cgroup_v1_to_v2_map[0]);
+const int cgroup_v1_to_v2_map_sz = ARRAY_SIZE(cgroup_v1_to_v2_map);
const struct cgroup_abstraction_map cgroup_v2_to_v1_map[] = {
/* cpu controller */
{cgroup_convert_cpuset_to_exclusive, "cpuset.cpus.partition", NULL,
"cpuset.cpu_exclusive", NULL},
};
-const int cgroup_v2_to_v1_map_sz = sizeof(cgroup_v2_to_v1_map) / sizeof(cgroup_v2_to_v1_map[0]);
+const int cgroup_v2_to_v1_map_sz = ARRAY_SIZE(cgroup_v2_to_v1_map);