static struct cell *root_cell;
static struct kobject *cells_dir;
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-
#ifdef CONFIG_X86
bool jailhouse_use_vmcall;
bitmap_copy(cpumask_bits(&cell->cpus_assigned),
jailhouse_cell_cpu_set(cell_desc),
- MIN(nr_cpumask_bits, cell_desc->cpu_set_size * 8));
+ min(nr_cpumask_bits, (int)cell_desc->cpu_set_size * 8));
cell->num_memory_regions = cell_desc->num_memory_regions;
cell->memory_regions = vmalloc(sizeof(struct jailhouse_memory) *