aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-02-02 14:38:24 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-02-08 07:28:05 +0100
commit06e2b0107fedf9ebef2d175a06a66c82015af11b (patch)
tree0be01ab264b1b6dd7476f39f15e043120f01ab93 /target
parent1beb07ca8a95e202d525fbdceb2a9209d253b971 (diff)
downloadqemu-06e2b0107fedf9ebef2d175a06a66c82015af11b.zip
qemu-06e2b0107fedf9ebef2d175a06a66c82015af11b.tar.gz
qemu-06e2b0107fedf9ebef2d175a06a66c82015af11b.tar.bz2
riscv: Clean up includes
This commit was created with scripts/clean-includes. All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20230202133830.2152150-15-armbru@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/riscv/pmu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/riscv/pmu.h b/target/riscv/pmu.h
index 3004ce3..0c819ca 100644
--- a/target/riscv/pmu.h
+++ b/target/riscv/pmu.h
@@ -16,7 +16,6 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "qemu/osdep.h"
#include "qemu/log.h"
#include "cpu.h"
#include "qemu/main-loop.h"