diff mbox series

[v2,19/28] target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX

Message ID 20191216221158.29572-20-richard.henderson@linaro.org
State Superseded
Headers show
Series cputlb: Remove support for MMU_MODE*_SUFFIX | expand

Commit Message

Richard Henderson Dec. 16, 2019, 10:11 p.m. UTC
The functions generated by these macros are unused.

Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 target/microblaze/cpu.h | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.20.1

Comments

Alex Bennée Dec. 20, 2019, 6:03 p.m. UTC | #1
Richard Henderson <richard.henderson@linaro.org> writes:

> The functions generated by these macros are unused.

>

> Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>

> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


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


> ---

>  target/microblaze/cpu.h | 3 ---

>  1 file changed, 3 deletions(-)

>

> diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h

> index 95773089aa..32522f606b 100644

> --- a/target/microblaze/cpu.h

> +++ b/target/microblaze/cpu.h

> @@ -328,9 +328,6 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo,

>  #define cpu_signal_handler cpu_mb_signal_handler

>  

>  /* MMU modes definitions */

> -#define MMU_MODE0_SUFFIX _nommu

> -#define MMU_MODE1_SUFFIX _kernel

> -#define MMU_MODE2_SUFFIX _user

>  #define MMU_NOMMU_IDX   0

>  #define MMU_KERNEL_IDX  1

>  #define MMU_USER_IDX    2



-- 
Alex Bennée
diff mbox series

Patch

diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index 95773089aa..32522f606b 100644
--- a/target/microblaze/cpu.h
+++ b/target/microblaze/cpu.h
@@ -328,9 +328,6 @@  int cpu_mb_signal_handler(int host_signum, void *pinfo,
 #define cpu_signal_handler cpu_mb_signal_handler
 
 /* MMU modes definitions */
-#define MMU_MODE0_SUFFIX _nommu
-#define MMU_MODE1_SUFFIX _kernel
-#define MMU_MODE2_SUFFIX _user
 #define MMU_NOMMU_IDX   0
 #define MMU_KERNEL_IDX  1
 #define MMU_USER_IDX    2