qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH 02/24] exec/cpu-defs: Remove unnecessary headers


From: Thomas Huth
Subject: Re: [PATCH 02/24] exec/cpu-defs: Remove unnecessary headers
Date: Thu, 14 Nov 2024 09:33:30 +0100
User-agent: Mozilla Thunderbird

On 14/11/2024 02.12, Philippe Mathieu-Daudé wrote:
"exec/cpu-defs.h" should be kept as minimal as possible;
besides these includes don't seem necessay. Remove them.

s/necessay/necessary/

diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h
--- a/include/exec/cpu-defs.h
+++ b/include/exec/cpu-defs.h
@@ -23,14 +23,6 @@
  #error cpu.h included from common code
  #endif
-#include "qemu/host-utils.h"
-#include "qemu/thread.h"
-#ifndef CONFIG_USER_ONLY
-#include "exec/hwaddr.h"
-#endif
-#include "exec/memattrs.h"
-#include "hw/core/cpu.h"

Seems to work. Good catch!

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




reply via email to

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