| Submitter | Paolo Bonzini |
|---|---|
| Date | Jan. 15, 2010, 7:56 a.m. |
| Message ID | <1263542196-12842-4-git-send-email-pbonzini@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/42951/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/cpu-exec.c b/cpu-exec.c index a426db9..2f119a9 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -588,11 +588,9 @@ int cpu_exec(CPUState *env1) /* see if we can patch the calling TB. When the TB spans two pages, we cannot safely do a direct jump. */ - { - if (next_tb != 0 && tb->page_addr[1] == -1) { + if (next_tb != 0 && tb->page_addr[1] == -1) { tb_add_jump((TranslationBlock *)(next_tb & ~3), next_tb & 3, tb); } - } spin_unlock(&tb_lock); env->current_tb = tb;
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- cpu-exec.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)