summary refs log tree commit diff stats
path: root/tcg/ppc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-10-29 09:17:30 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-01-07 05:09:41 -1000
commit755bf9e514e3f60ffa3f0495e6bc524fca74f3be (patch)
tree6e381a2092413ce847c1e2de0e37e4efb876647b /tcg/ppc
parent92ab8e7d621e11df559fc2427ff08df6c3a5a6de (diff)
downloadfocaccia-qemu-755bf9e514e3f60ffa3f0495e6bc524fca74f3be.tar.gz
focaccia-qemu-755bf9e514e3f60ffa3f0495e6bc524fca74f3be.zip
tcg: Adjust tcg_register_jit for const
We must change all targets at once, since all must match
the declaration in tcg.c.

Reviewed-by: Joelle van Dyne <j@getutm.app>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/ppc')
-rw-r--r--tcg/ppc/tcg-target.c.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc
index 38dabe40c4..a0a5bac13f 100644
--- a/tcg/ppc/tcg-target.c.inc
+++ b/tcg/ppc/tcg-target.c.inc
@@ -3847,7 +3847,7 @@ static DebugFrame debug_frame = {
     }
 };
 
-void tcg_register_jit(void *buf, size_t buf_size)
+void tcg_register_jit(const void *buf, size_t buf_size)
 {
     uint8_t *p = &debug_frame.fde_reg_ofs[3];
     int i;