aboutsummaryrefslogtreecommitdiff
path: root/accel/tcg/translate-common.c
diff options
context:
space:
mode:
authorYang Zhong <yang.zhong@intel.com>2017-07-03 18:12:13 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2017-07-04 16:00:12 +0200
commita0be0c585f5dcc4d50a37f6a20d3d625c5ef3a2c (patch)
treed08821dba1ae0bae9ca999d47709b9213383ad0d /accel/tcg/translate-common.c
parente7b161d5738bd5721e05174b25145f33dbc9d184 (diff)
tcg: move page_size_init() function
translate-all.c will be disabled if tcg is disabled in the build, so page_size_init() function and related variables will be moved to exec.c file. Signed-off-by: Yang Zhong <yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel/tcg/translate-common.c')
-rw-r--r--accel/tcg/translate-common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/accel/tcg/translate-common.c b/accel/tcg/translate-common.c
index 40fe5a19bb..e6b8c4cf0f 100644
--- a/accel/tcg/translate-common.c
+++ b/accel/tcg/translate-common.c
@@ -23,9 +23,6 @@
#include "sysemu/cpus.h"
#include "qemu/main-loop.h"
-uintptr_t qemu_real_host_page_size;
-intptr_t qemu_real_host_page_mask;
-
#ifndef CONFIG_USER_ONLY
/* mask must never be zero, except for A20 change call */
static void tcg_handle_interrupt(CPUState *cpu, int mask)