]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Define function loongarch_cpu_post_init as static
authorBibo Mao <maobibo@loongson.cn>
Tue, 8 Jul 2025 07:35:12 +0000 (15:35 +0800)
committerBibo Mao <maobibo@loongson.cn>
Fri, 29 Aug 2025 02:05:02 +0000 (10:05 +0800)
commit982d7674ff4ed1affc4dadba2c6f6ab1b1df4e97
tree3d737723224eaa010ed2a67a4763360f1170697b
parentde3c9f552d8d6af5e1a5f28eb93c836080715796
target/loongarch: Define function loongarch_cpu_post_init as static

Function loongarch_cpu_post_init() is implemented and used in the
same file target/loongarch/cpu.c, it can be defined as static function.

This patch moves implementation about function loongarch_cpu_post_init()
before it is referenced. And it is only code movement, no function
change.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/cpu.c
target/loongarch/cpu.h