[PATCH] target/arm/cpu64: remove duplicate include

Osama Abdelkader posted 1 patch 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251110161552.700333-1-osama.abdelkader@gmail.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu64.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] target/arm/cpu64: remove duplicate include
Posted by Osama Abdelkader 1 month ago
cpregs.h is included twice.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
---
 target/arm/cpu64.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index f81cfd0113..ae84d8e420 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -34,7 +34,6 @@
 #include "hw/qdev-properties.h"
 #include "internals.h"
 #include "cpu-features.h"
-#include "cpregs.h"
 
 /* convert between <register>_IDX and SYS_<register> */
 #define DEF(NAME, OP0, OP1, CRN, CRM, OP2)      \
-- 
2.43.0
Re: [PATCH] target/arm/cpu64: remove duplicate include
Posted by Gavin Shan 1 month ago
On 11/11/25 2:15 AM, Osama Abdelkader wrote:
> cpregs.h is included twice.
> 
> Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
> ---
>   target/arm/cpu64.c | 1 -
>   1 file changed, 1 deletion(-)
> 
Reviewed-by: Gavin Shan <gshan@redhat.com>
Re: [PATCH] target/arm/cpu64: remove duplicate include
Posted by Alex Bennée 1 month ago
Osama Abdelkader <osama.abdelkader@gmail.com> writes:

> cpregs.h is included twice.
>
> Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  target/arm/cpu64.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
> index f81cfd0113..ae84d8e420 100644
> --- a/target/arm/cpu64.c
> +++ b/target/arm/cpu64.c
> @@ -34,7 +34,6 @@
>  #include "hw/qdev-properties.h"
>  #include "internals.h"
>  #include "cpu-features.h"
> -#include "cpregs.h"
>  
>  /* convert between <register>_IDX and SYS_<register> */
>  #define DEF(NAME, OP0, OP1, CRN, CRM, OP2)      \

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro