From 6c68869076024f380ce222e34ce5e2ef3ba28e15 Mon Sep 17 00:00:00 2001 From: Leon Alrae Date: Sun, 11 Feb 2018 17:05:23 -0500 Subject: [PATCH] target-mips: remove excp_names[] from linux-user as it is unused Backports commit d4fa5354a246a1c6cb538a5d8ebcc21206d502fb from qemu --- qemu/target-mips/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target-mips/helper.c b/qemu/target-mips/helper.c index 8d01f5a3..ef86d223 100644 --- a/qemu/target-mips/helper.c +++ b/qemu/target-mips/helper.c @@ -366,7 +366,6 @@ hwaddr cpu_mips_translate_address(CPUMIPSState *env, target_ulong address, int r return physical; } } -#endif static const char * const excp_names[EXCP_LAST + 1] = { "reset", @@ -408,6 +407,7 @@ static const char * const excp_names[EXCP_LAST + 1] = { "TLB execute-inhibit", "TLB read-inhibit", }; +#endif target_ulong exception_resume_pc (CPUMIPSState *env) {