summary refs log tree commit diff stats
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-11-22 15:21:02 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-05 16:20:15 +0100
commit989f31658e1e64bf9848c395af0c7a7b47fa5cbf (patch)
tree472dad34a034cc14977f5b219fd6c7838bd232fe /include/hw/ppc
parent287fa3232426283a5905643bd5453e28b97fb28c (diff)
downloadfocaccia-qemu-989f31658e1e64bf9848c395af0c7a7b47fa5cbf.tar.gz
focaccia-qemu-989f31658e1e64bf9848c395af0c7a7b47fa5cbf.zip
hw/ppc/xive2_regs: Remove unnecessary 'cpu.h' inclusion
xive2_regs.h only requires declarations from "qemu/bswap.h".
Include it instead of the huge target-specific "cpu.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id:  <20231122183920.17905-1-philmd@linaro.org>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/xive2_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/xive2_regs.h b/include/hw/ppc/xive2_regs.h
index b7adbdb7b9..816f5d0e84 100644
--- a/include/hw/ppc/xive2_regs.h
+++ b/include/hw/ppc/xive2_regs.h
@@ -10,7 +10,7 @@
 #ifndef PPC_XIVE2_REGS_H
 #define PPC_XIVE2_REGS_H
 
-#include "cpu.h"
+#include "qemu/bswap.h"
 
 /*
  * Thread Interrupt Management Area (TIMA)