[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/9] target/loongarch/cpu: Remove unneeded include directive
From: |
Bernhard Beschow |
Subject: |
[PATCH 6/9] target/loongarch/cpu: Remove unneeded include directive |
Date: |
Tue, 20 Sep 2022 01:17:17 +0200 |
The cpu is used in both user and system emulation context while sysbus.h
is system-only. Remove it since it's not needed anyway. Furthermore, it
would cause a compile error in the next commit.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
target/loongarch/cpu.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h
index dce999aaac..c9ed2cb3e7 100644
--- a/target/loongarch/cpu.h
+++ b/target/loongarch/cpu.h
@@ -13,7 +13,6 @@
#include "hw/registerfields.h"
#include "qemu/timer.h"
#include "exec/memory.h"
-#include "hw/sysbus.h"
#define IOCSRF_TEMP 0
#define IOCSRF_NODECNT 1
--
2.37.3
- Re: [PATCH 1/9] hw/riscv/sifive_e: Fix inheritance of SiFiveEState, (continued)
- [PATCH 2/9] exec/hwaddr.h: Add missing include, Bernhard Beschow, 2022/09/19
- [PATCH 3/9] hw/core/sysbus: Resolve main_system_bus singleton, Bernhard Beschow, 2022/09/19
- [PATCH 4/9] hw/ppc/spapr: Fix code style problems reported by checkpatch, Bernhard Beschow, 2022/09/19
- [PATCH 5/9] exec/address-spaces: Wrap address space singletons into functions, Bernhard Beschow, 2022/09/19
- [PATCH 6/9] target/loongarch/cpu: Remove unneeded include directive,
Bernhard Beschow <=
- [PATCH 7/9] hw/sysbus: Introduce dedicated struct SysBusState for TYPE_SYSTEM_BUS, Bernhard Beschow, 2022/09/19
- [PATCH 8/9] softmmu/physmem: Let SysBusState absorb memory region and address space singletons, Bernhard Beschow, 2022/09/19
- [PATCH 9/9] exec/address-spaces: Inline legacy functions, Bernhard Beschow, 2022/09/19