include: move page_size_init() to include/hw/core/cpu.h
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Mar 2022 15:57:38 +0000 (19:57 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Apr 2022 12:31:43 +0000 (14:31 +0200)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-28-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/core/cpu.h
include/qemu-common.h

index 13adb251b2ab3c5e7b4d54f1cec660b4fe340c2c..466bed60472759831755606caabd8bd44dcf4c21 100644 (file)
@@ -1035,6 +1035,8 @@ void cpu_exec_unrealizefn(CPUState *cpu);
  */
 bool target_words_bigendian(void);
 
+void page_size_init(void);
+
 #ifdef NEED_CPU_H
 
 #ifdef CONFIG_SOFTMMU
index a271cac66a1b4ef2526a0f5035cfcd7debc7d3d8..65483f70d4fe1cbb75cdaadae49b0655874fcfdf 100644 (file)
@@ -24,6 +24,4 @@
 int qemu_main(int argc, char **argv, char **envp);
 #endif
 
-void page_size_init(void);
-
 #endif