hw/ppc/xive2_regs: Remove unnecessary 'cpu.h' inclusion
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 22 Nov 2023 14:21:02 +0000 (15:21 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
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>

include/hw/ppc/xive2_regs.h

index b7adbdb7b98057bc95fbd6c7aff46380e074a240..816f5d0e840b056d576254705e02ca8846bb9726 100644 (file)
@@ -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)