mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
include: Don't include guest-host.h in cpu-ldst.h
We currently include user/guest-host.h from accel/tcg/cpu-ldst.h.
However that file doesn't need anything from guest-host.h, since we
removed the uses of g2h() in commit 9b74d403b3 ("accel/tcg: Move
user-only tlb_vaddr_to_host out of line").
Move the include of guest-host.h to where it's actually needed.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20260330143123.1685142-2-peter.maydell@linaro.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "user/abitypes.h"
|
||||
#include "user/cpu_loop.h"
|
||||
#include "user/page-protection.h"
|
||||
#include "user/guest-host.h"
|
||||
|
||||
extern char **environ;
|
||||
|
||||
|
||||
@@ -71,10 +71,6 @@
|
||||
#include "accel/tcg/cpu-mmu-index.h"
|
||||
#include "exec/abi_ptr.h"
|
||||
|
||||
#if defined(CONFIG_USER_ONLY)
|
||||
#include "user/guest-host.h"
|
||||
#endif /* CONFIG_USER_ONLY */
|
||||
|
||||
static inline uint32_t
|
||||
cpu_ldub_mmuidx_ra(CPUArchState *env, abi_ptr addr, int mmu_idx, uintptr_t ra)
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "syscall_defs.h"
|
||||
#include "target_syscall.h"
|
||||
#include "accel/tcg/vcpu-state.h"
|
||||
#include "user/guest-host.h"
|
||||
|
||||
/*
|
||||
* This is the size of the host kernel's sigset_t, needed where we make
|
||||
|
||||
Reference in New Issue
Block a user