[PATCH 1/2] hw/loongarch/virt: Remove unnecessary 'cpu.h' inclusion

Philippe Mathieu-Daudé posted 2 patches 1 month, 3 weeks ago
[PATCH 1/2] hw/loongarch/virt: Remove unnecessary 'cpu.h' inclusion
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/loongarch/virt.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h
index c373e48f27..9ba47793ef 100644
--- a/include/hw/loongarch/virt.h
+++ b/include/hw/loongarch/virt.h
@@ -8,7 +8,6 @@
 #ifndef HW_LOONGARCH_H
 #define HW_LOONGARCH_H
 
-#include "target/loongarch/cpu.h"
 #include "hw/boards.h"
 #include "qemu/queue.h"
 #include "hw/block/flash.h"
-- 
2.45.2


Re: [PATCH 1/2] hw/loongarch/virt: Remove unnecessary 'cpu.h' inclusion
Posted by Thomas Huth 1 month, 3 weeks ago
On 27/09/2024 23.32, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   include/hw/loongarch/virt.h | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h
> index c373e48f27..9ba47793ef 100644
> --- a/include/hw/loongarch/virt.h
> +++ b/include/hw/loongarch/virt.h
> @@ -8,7 +8,6 @@
>   #ifndef HW_LOONGARCH_H
>   #define HW_LOONGARCH_H
>   
> -#include "target/loongarch/cpu.h"
>   #include "hw/boards.h"
>   #include "qemu/queue.h"
>   #include "hw/block/flash.h"

Reviewed-by: Thomas Huth <thuth@redhat.com>