diff mbox series

[v2,16/28] target/alpha: Remove MMU_MODE{0,1}_SUFFIX

Message ID 20191216221158.29572-17-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.

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

---
 target/alpha/cpu.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.20.1

Comments

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

> The functions generated by these macros are unused.

>

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


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


> ---

>  target/alpha/cpu.h | 2 --

>  1 file changed, 2 deletions(-)

>

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

> index a530249a5b..3f782c0efe 100644

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

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

> @@ -193,8 +193,6 @@ enum {

>     PALcode cheats and usees the KSEG mapping for its code+data rather than

>     physical addresses.  */

>  

> -#define MMU_MODE0_SUFFIX _kernel

> -#define MMU_MODE1_SUFFIX _user

>  #define MMU_KERNEL_IDX   0

>  #define MMU_USER_IDX     1

>  #define MMU_PHYS_IDX     2



-- 
Alex Bennée
diff mbox series

Patch

diff --git a/target/alpha/cpu.h b/target/alpha/cpu.h
index a530249a5b..3f782c0efe 100644
--- a/target/alpha/cpu.h
+++ b/target/alpha/cpu.h
@@ -193,8 +193,6 @@  enum {
    PALcode cheats and usees the KSEG mapping for its code+data rather than
    physical addresses.  */
 
-#define MMU_MODE0_SUFFIX _kernel
-#define MMU_MODE1_SUFFIX _user
 #define MMU_KERNEL_IDX   0
 #define MMU_USER_IDX     1
 #define MMU_PHYS_IDX     2