target/microblaze: Include missing cpu-mmu-index.h header in translate.c
translate.c calls cpu_mmu_index(), itself defined in "accel/tcg/cpu-mmu-index.h". This header is pulled in indirectly via "accel/tcg/cpu-ldst.h", but since we'll remove the latter in the next commit, make the inclusion explicit, otherwise we'd get: ../target/microblaze/translate.c:1620:21: error: call to undeclared function 'cpu_mmu_index' 1620 | dc->mem_index = cpu_mmu_index(cs, false); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Message-Id: <20260423100612.27278-9-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Apr 23, 2026 at 11:53 UTC
e946c94714c47397d223bb6474f08d4d727384ea
1 file changed
+1
target/microblaze/translate.c
+1
@@ -21,6 +21,7 @@
21
#include "qemu/osdep.h"
22
#include "cpu.h"
23
#include "accel/tcg/cpu-ldst.h"
24
+#include "accel/tcg/cpu-mmu-index.h"
25
#include "tcg/tcg-op.h"
26
#include "exec/helper-proto.h"
27
#include "exec/helper-gen.h"