[PATCH 03/23] target/arm: Remove `NB_MMU_MODES` define

Anton Johansson via posted 23 patches 2 years, 11 months ago
[PATCH 03/23] target/arm: Remove `NB_MMU_MODES` define
Posted by Anton Johansson via 2 years, 11 months ago
Signed-off-by: Anton Johansson <anjo@rev.ng>
---
 target/arm/cpu-param.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/target/arm/cpu-param.h b/target/arm/cpu-param.h
index b7bde18986..b3b35f7aa1 100644
--- a/target/arm/cpu-param.h
+++ b/target/arm/cpu-param.h
@@ -45,6 +45,4 @@
     bool guarded;
 #endif
 
-#define NB_MMU_MODES 12
-
 #endif
-- 
2.39.1
Re: [PATCH 03/23] target/arm: Remove `NB_MMU_MODES` define
Posted by Philippe Mathieu-Daudé 2 years, 11 months ago
On 6/3/23 18:52, Anton Johansson wrote:
> Signed-off-by: Anton Johansson <anjo@rev.ng>
> ---
>   target/arm/cpu-param.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/target/arm/cpu-param.h b/target/arm/cpu-param.h
> index b7bde18986..b3b35f7aa1 100644
> --- a/target/arm/cpu-param.h
> +++ b/target/arm/cpu-param.h
> @@ -45,6 +45,4 @@
>       bool guarded;
>   #endif
>   
> -#define NB_MMU_MODES 12
> -

We need to update the comment previous to ARMMMUIdx typedef.