summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-17 09:16:15 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:51:00 +0100
commit907a5e32f293a0af8875973d4cce12b96bea5bae (patch)
tree6604018fe4f084226445d334095bcc2bae7569ce /exec.c
parentd77953b94ff20868b21796ee22ca57baa1cfc941 (diff)
downloadqemu-907a5e32f293a0af8875973d4cce12b96bea5bae.zip
cputlb: Pass CPUState to cpu_unlink_tb()
CPUArchState is no longer needed. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index dbb893a08e..a41bcb8694 100644
--- a/exec.c
+++ b/exec.c
@@ -495,7 +495,7 @@ void cpu_exit(CPUArchState *env)
CPUState *cpu = ENV_GET_CPU(env);
cpu->exit_request = 1;
- cpu_unlink_tb(env);
+ cpu_unlink_tb(cpu);
}
void cpu_abort(CPUArchState *env, const char *fmt, ...)