On 16/03/2015 10:03, Fam Zheng wrote:
> +void cpu_exec_init_all(void)
> +{
> +#if !defined(CONFIG_USER_ONLY)
> +qemu_mutex_init(&ram_list.mutex);
> +memory_map_init();
> +io_mem_init();
> +#endif
The #if is now unnecessary, but I can fix this. I'll queue the patch
for 2.4.
Paolo
>
So that accesses from multiple threads are safe.
Signed-off-by: Fam Zheng
---
exec.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/exec.c b/exec.c
index 8d21eff..9f6c4f8 100644
--- a/exec.c
+++ b/exec.c
@@ -429,15 +429,6 @@ address_space_translate_