summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorPeter Maydell2014-05-13 19:36:18 +0200
committerPeter Maydell2014-05-13 19:36:19 +0200
commitf30d56e7d63fe2f536511bffa13306bec2e01c37 (patch)
tree5ab8602b1fd17c55c00125d4d2ed56b7e31aee19 /include/exec/exec-all.h
parentMerge remote-tracking branch 'remotes/rth/tags/pull-tcg-20140512' into staging (diff)
parentexec-all.h: Use stl_le_p instead of stl_p patching x86 (diff)
downloadqemu-f30d56e7d63fe2f536511bffa13306bec2e01c37.tar.gz
qemu-f30d56e7d63fe2f536511bffa13306bec2e01c37.tar.xz
qemu-f30d56e7d63fe2f536511bffa13306bec2e01c37.zip
Merge remote-tracking branch 'remotes/rth/fix-i386' into staging
* remotes/rth/fix-i386: exec-all.h: Use stl_le_p instead of stl_p patching x86 Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
-rw-r--r--include/exec/exec-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 0766e24f8e..444b4d9a1d 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -229,7 +229,7 @@ void ppc_tb_set_jmp_target(unsigned long jmp_addr, unsigned long addr);
static inline void tb_set_jmp_target1(uintptr_t jmp_addr, uintptr_t addr)
{
/* patch the branch destination */
- stl_p((void*)jmp_addr, addr - (jmp_addr + 4));
+ stl_le_p((void*)jmp_addr, addr - (jmp_addr + 4));
/* no need to flush icache explicitly */
}
#elif defined(__aarch64__)