target/mips: Restrict mips_cpu_dump_state() to cpu.c
commit4f14ce4bf4ec01a840a8de4007a95a77998c5736
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 16 Jan 2021 13:26:52 +0000 (16 14:26 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 2 May 2021 14:49:34 +0000 (2 16:49 +0200)
tree9bfb8afdfb3f6ff7c29d215b6a7be464cde4bf45
parent830b87ea25b3710c3fce04dee782bcf1c89ba27f
target/mips: Restrict mips_cpu_dump_state() to cpu.c

As mips_cpu_dump_state() is only used once to initialize the
CPUClass::dump_state handler, we can move it to cpu.c to keep
it symbol local.
Beside, this handler is used by all accelerators, while the
translate.c file targets TCG.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-7-f4bug@amsat.org>
target/mips/cpu.c
target/mips/internal.h
target/mips/translate.c