Revision c2764719 exec.c
b/exec.c | ||
---|---|---|
534 | 534 |
CPUState **penv; |
535 | 535 |
int cpu_index; |
536 | 536 |
|
537 |
#if defined(CONFIG_USER_ONLY) |
|
538 |
cpu_list_lock(); |
|
539 |
#endif |
|
537 | 540 |
env->next_cpu = NULL; |
538 | 541 |
penv = &first_cpu; |
539 | 542 |
cpu_index = 0; |
... | ... | |
545 | 548 |
TAILQ_INIT(&env->breakpoints); |
546 | 549 |
TAILQ_INIT(&env->watchpoints); |
547 | 550 |
*penv = env; |
551 |
#if defined(CONFIG_USER_ONLY) |
|
552 |
cpu_list_unlock(); |
|
553 |
#endif |
|
548 | 554 |
#if defined(CPU_SAVE_VERSION) && !defined(CONFIG_USER_ONLY) |
549 | 555 |
register_savevm("cpu_common", cpu_index, CPU_COMMON_SAVE_VERSION, |
550 | 556 |
cpu_common_save, cpu_common_load, env); |
Also available in: Unified diff