[Top][All Lists]

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

Re: [PATCH-for-8.0 2/4] hw/ppc/vof: Do not include the full "cpu.h"

From: Daniel Henrique Barboza
Subject: Re: [PATCH-for-8.0 2/4] hw/ppc/vof: Do not include the full "cpu.h"
Date: Fri, 16 Dec 2022 13:33:48 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

On 12/13/22 09:35, Philippe Mathieu-Daudé wrote:
"vof.h" doesn't need the full "cpu.h" to get the target_ulong
definition, including "exec/cpu-defs.h" is enough.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>

  include/hw/ppc/vof.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/ppc/vof.h b/include/hw/ppc/vof.h
index f8c0effcaf..d3f293da8b 100644
--- a/include/hw/ppc/vof.h
+++ b/include/hw/ppc/vof.h
@@ -9,7 +9,7 @@
  #include "qom/object.h"
  #include "exec/address-spaces.h"
  #include "exec/memory.h"
-#include "cpu.h"
+#include "exec/cpu-defs.h"
typedef struct Vof {
      uint64_t top_addr; /* copied from rma_size */

reply via email to

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