|
From: | Richard Henderson |
Subject: | Re: [PATCH 20/21] exec/user: Do not include 'cpu.h' in 'abitypes.h' |
Date: | Wed, 17 Apr 2024 12:35:50 -0700 |
User-agent: | Mozilla Thunderbird |
On 4/17/24 11:28, Philippe Mathieu-Daudé wrote:
"exec/user/abitypes.h" requires: - "exec/cpu-defs.h" (TARGET_LONG_BITS) - "exec/tswap.h" (tswap32) In order to avoid "cpu.h", pick the minimum required headers. Assert this user-specific header is only included from user emulation. Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> Reviewed-by: Thomas Huth<thuth@redhat.com> Message-Id:<20231212123401.37493-20-philmd@linaro.org> --- include/exec/user/abitypes.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |