projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05ae53
)
linux-user: Clean up interim solution for exit syscall
author
Andreas Färber
<afaerber@suse.de>
Tue, 1 May 2012 22:10:43 +0000
(
00:10
+0200)
committer
Riku Voipio
<riku.voipio@linaro.org>
Thu, 3 May 2012 14:31:44 +0000
(17:31 +0300)
After all target CPUs have been QOM'ified, we no longer need an #ifdef
to switch between object_delete() and g_free() in NPTL thread exit.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 712861829abf812af0ea218c1e4d564e8f88587c..801b8ed17893b16a830607de7047695cf66baeb6 100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-5045,11
+5045,7
@@
abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
NULL, NULL, 0);
}
thread_env = NULL;
-#ifdef ENV_GET_CPU
object_delete(OBJECT(ENV_GET_CPU(cpu_env)));
-#else
- g_free(cpu_env);
-#endif
g_free(ts);
pthread_exit(NULL);
}