Searched refs:next_cpu (Results 1 – 1 of 1) sorted by relevance
333 static int next_cpu = -1; in txn_alloc_addr() local335 next_cpu++; /* assign to "next" CPU we want this bugger on */ in txn_alloc_addr()338 while ((next_cpu < NR_CPUS) && !cpu_data[next_cpu].txn_addr) in txn_alloc_addr()339 next_cpu++; in txn_alloc_addr()341 if (next_cpu >= NR_CPUS) in txn_alloc_addr()342 next_cpu = 0; /* nothing else, assign monarch */ in txn_alloc_addr()344 return cpu_data[next_cpu].txn_addr; in txn_alloc_addr()