[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] fixup! tcg/mips: Make direct jump patching thread-s
From: |
Sergey Fedorov |
Subject: |
[Qemu-devel] [PATCH] fixup! tcg/mips: Make direct jump patching thread-safe |
Date: |
Mon, 2 May 2016 00:27:12 +0300 |
From: Sergey Fedorov <address@hidden>
Signed-off-by: Sergey Fedorov <address@hidden>
Signed-off-by: Sergey Fedorov <address@hidden>
---
tcg/mips/tcg-target.inc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/mips/tcg-target.inc.c b/tcg/mips/tcg-target.inc.c
index b0440b9c5a79..b514cd7114d2 100644
--- a/tcg/mips/tcg-target.inc.c
+++ b/tcg/mips/tcg-target.inc.c
@@ -1885,6 +1885,6 @@ static void tcg_target_init(TCGContext *s)
void tb_set_jmp_target1(uintptr_t jmp_addr, uintptr_t addr)
{
- atomic_set(ptr, deposit32(OPC_J, 0, 26, addr >> 2));
+ atomic_set(jmp_addr, deposit32(OPC_J, 0, 26, addr >> 2));
flush_icache_range(jmp_addr, jmp_addr + 4);
}
--
1.9.1
- [Qemu-devel] [PATCH] fixup! tcg/mips: Make direct jump patching thread-safe,
Sergey Fedorov <=