qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 19/23] exec/user: Do not include 'cpu.h' in 'abitypes.h'


From: Thomas Huth
Subject: Re: [PATCH v2 19/23] exec/user: Do not include 'cpu.h' in 'abitypes.h'
Date: Thu, 14 Dec 2023 19:30:14 +0100
User-agent: Mozilla Thunderbird

On 12/12/2023 13.33, 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>
---
  include/exec/user/abitypes.h | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]