exec/cpu-all: remove system/memory include

We include this header where needed. When includes set already have
ifdef CONFIG_USER_ONLY, we add it here, else, we don't condition the
include.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250325045915.994760-5-pierrick.bouvier@linaro.org>
This commit is contained in:
Pierrick Bouvier 2025-03-24 21:58:49 -07:00 committed by Richard Henderson
parent 8d535c312c
commit 342e313d6c
23 changed files with 23 additions and 5 deletions

View file

@ -26,11 +26,6 @@
#include "hw/core/cpu.h"
#include "exec/cpu-defs.h"
#include "exec/target_page.h"
#ifndef CONFIG_USER_ONLY
#include "system/memory.h"
#endif
#include "cpu.h"
#endif /* CPU_ALL_H */