Skip to content

Commit

Permalink
hw/ppc/xive2_regs: Remove unnecessary 'cpu.h' inclusion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd committed Jan 5, 2024
1 parent 287fa32 commit 989f316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hw/ppc/xive2_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 989f316

Please sign in to comment.