From: Philippe Mathieu-Daudé Date: Wed, 22 Nov 2023 14:21:02 +0000 (+0100) Subject: hw/ppc/xive2_regs: Remove unnecessary 'cpu.h' inclusion X-Git-Tag: v9.0.0-rc0~123^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=989f31658e1e64bf9848c395af0c7a7b47fa5cbf;p=thirdparty%2Fqemu.git 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é Reviewed-by: Cédric Le Goater Message-Id: <20231122183920.17905-1-philmd@linaro.org> --- diff --git a/include/hw/ppc/xive2_regs.h b/include/hw/ppc/xive2_regs.h index b7adbdb7b98..816f5d0e840 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)