obtain_clone_cpuid(): always start from CPU 0 and fill in cores linearily

This commit is contained in:
Balazs Gerofi
2015-07-28 20:14:33 +09:00
parent d7bae14707
commit b77755d0f7
2 changed files with 4 additions and 1 deletions

View File

@@ -2325,7 +2325,7 @@ redo:
struct cpu_local_var *v;
struct cpu_local_var *cur_v;
struct process *proc_to_move = NULL;
int irqstate2;
unsigned long irqstate2;
irqstate = cpu_disable_interrupt_save();