Use the new MMU_INDEX() helper to specify the index of the CPUTLB which
should be used. Additionally, in a follow-up patch this helper allows
then to optimize the tcg code generation.
Signed-off-by: Helge Deller <deller@gmx.de>
---
target/hexagon/cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h
index daef5c3f00..b4cf9f1a7d 100644
--- a/target/hexagon/cpu.h
+++ b/target/hexagon/cpu.h
@@ -51,7 +51,7 @@
void hexagon_cpu_list(void);
#define cpu_list hexagon_cpu_list
-#define MMU_USER_IDX 0
+#define MMU_USER_IDX MMU_INDEX(0)
typedef struct {
target_ulong va;
--
2.41.0