aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-31 15:13:11 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2016-09-07 12:40:12 +1000
commit76a3d2f750476e77a3287937bf4189e527514dc1 (patch)
tree96b8d8a24053510ec082a918566ad40344c1250d /target-ppc
parentd0f6ced17fb04b6a0cbeb32e5950a3df8b3c4b5d (diff)
downloadqemu-76a3d2f750476e77a3287937bf4189e527514dc1.zip
qemu-76a3d2f750476e77a3287937bf4189e527514dc1.tar.gz
qemu-76a3d2f750476e77a3287937bf4189e527514dc1.tar.bz2
ppc: Improve the exception helpers flags
They generate exceptions, but they don't update the environment Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index b0c1db9..d83086e 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -1,5 +1,5 @@
-DEF_HELPER_3(raise_exception_err, void, env, i32, i32)
-DEF_HELPER_2(raise_exception, void, env, i32)
+DEF_HELPER_FLAGS_3(raise_exception_err, TCG_CALL_NO_WG, void, env, i32, i32)
+DEF_HELPER_FLAGS_2(raise_exception, TCG_CALL_NO_WG, void, env, i32)
DEF_HELPER_4(tw, void, env, tl, tl, i32)
#if defined(TARGET_PPC64)
DEF_HELPER_4(td, void, env, tl, tl, i32)