* [PATCH] hw/ppc/spapr_softmmu: Reduce include list
@ 2021-10-06 17:08 Philippe Mathieu-Daudé
2021-10-07 0:46 ` David Gibson
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-10-06 17:08 UTC (permalink / raw)
To: qemu-devel
Cc: Philippe Mathieu-Daudé, Lucas Mateus Castro, qemu-ppc,
Greg Kurz, David Gibson
Commit 962104f0448 ("hw/ppc: moved hcalls that depend on softmmu")
introduced a lot of unnecessary #include directives. Remove them.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/ppc/spapr_softmmu.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/hw/ppc/spapr_softmmu.c b/hw/ppc/spapr_softmmu.c
index 6c6b86dd3c6..f8924270eff 100644
--- a/hw/ppc/spapr_softmmu.c
+++ b/hw/ppc/spapr_softmmu.c
@@ -1,25 +1,10 @@
#include "qemu/osdep.h"
#include "qemu/cutils.h"
-#include "qapi/error.h"
-#include "sysemu/hw_accel.h"
-#include "sysemu/runstate.h"
-#include "qemu/log.h"
-#include "qemu/main-loop.h"
-#include "qemu/module.h"
-#include "qemu/error-report.h"
#include "cpu.h"
-#include "exec/exec-all.h"
#include "helper_regs.h"
#include "hw/ppc/spapr.h"
-#include "hw/ppc/spapr_cpu_core.h"
#include "mmu-hash64.h"
-#include "cpu-models.h"
-#include "trace.h"
-#include "kvm_ppc.h"
-#include "hw/ppc/fdt.h"
-#include "hw/ppc/spapr_ovec.h"
#include "mmu-book3s-v3.h"
-#include "hw/mem/memory-device.h"
static inline bool valid_ptex(PowerPCCPU *cpu, target_ulong ptex)
{
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hw/ppc/spapr_softmmu: Reduce include list
2021-10-06 17:08 [PATCH] hw/ppc/spapr_softmmu: Reduce include list Philippe Mathieu-Daudé
@ 2021-10-07 0:46 ` David Gibson
0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2021-10-07 0:46 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: Lucas Mateus Castro, qemu-ppc, qemu-devel, Greg Kurz
[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]
On Wed, Oct 06, 2021 at 07:08:01PM +0200, Philippe Mathieu-Daudé wrote:
> Commit 962104f0448 ("hw/ppc: moved hcalls that depend on softmmu")
> introduced a lot of unnecessary #include directives. Remove them.
Applied to ppc-for-6.2, thanks.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> hw/ppc/spapr_softmmu.c | 15 ---------------
> 1 file changed, 15 deletions(-)
>
> diff --git a/hw/ppc/spapr_softmmu.c b/hw/ppc/spapr_softmmu.c
> index 6c6b86dd3c6..f8924270eff 100644
> --- a/hw/ppc/spapr_softmmu.c
> +++ b/hw/ppc/spapr_softmmu.c
> @@ -1,25 +1,10 @@
> #include "qemu/osdep.h"
> #include "qemu/cutils.h"
> -#include "qapi/error.h"
> -#include "sysemu/hw_accel.h"
> -#include "sysemu/runstate.h"
> -#include "qemu/log.h"
> -#include "qemu/main-loop.h"
> -#include "qemu/module.h"
> -#include "qemu/error-report.h"
> #include "cpu.h"
> -#include "exec/exec-all.h"
> #include "helper_regs.h"
> #include "hw/ppc/spapr.h"
> -#include "hw/ppc/spapr_cpu_core.h"
> #include "mmu-hash64.h"
> -#include "cpu-models.h"
> -#include "trace.h"
> -#include "kvm_ppc.h"
> -#include "hw/ppc/fdt.h"
> -#include "hw/ppc/spapr_ovec.h"
> #include "mmu-book3s-v3.h"
> -#include "hw/mem/memory-device.h"
>
> static inline bool valid_ptex(PowerPCCPU *cpu, target_ulong ptex)
> {
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-07 0:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-06 17:08 [PATCH] hw/ppc/spapr_softmmu: Reduce include list Philippe Mathieu-Daudé
2021-10-07 0:46 ` David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).