aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-23 19:57:38 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-06 14:31:43 +0200
commit4e40e89325dc9d70f2f58217d1dea8dd1e9f3ee4 (patch)
tree14a18c0bbabec6838a919b8e06b01f9fb0156084
parent327adeecdde6f2b12ba32d0b886a720e40900b31 (diff)
include: move page_size_init() to include/hw/core/cpu.h
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>
-rw-r--r--include/hw/core/cpu.h2
-rw-r--r--include/qemu-common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h
index 13adb251b2..466bed6047 100644
--- a/include/hw/core/cpu.h
+++ b/include/hw/core/cpu.h
@@ -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
diff --git a/include/qemu-common.h b/include/qemu-common.h
index a271cac66a..65483f70d4 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -24,6 +24,4 @@
int qemu_main(int argc, char **argv, char **envp);
#endif
-void page_size_init(void);
-
#endif