diff mbox series

target/ppc: Remove unused MMU definitions

Message ID 20210127232401.3525126-1-f4bug@amsat.org (mailing list archive)
State New, archived
Headers show
Series target/ppc: Remove unused MMU definitions | expand

Commit Message

Philippe Mathieu-Daudé Jan. 27, 2021, 11:24 p.m. UTC
Remove these confusing and unused definitions.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 target/ppc/cpu.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

David Gibson Jan. 28, 2021, 12:22 a.m. UTC | #1
On Thu, Jan 28, 2021 at 12:24:01AM +0100, Philippe Mathieu-Daudé wrote:
> Remove these confusing and unused definitions.
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Applied to ppc-for-6.0.

> ---
>  target/ppc/cpu.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
> index 2609e4082ed..cb002102888 100644
> --- a/target/ppc/cpu.h
> +++ b/target/ppc/cpu.h
> @@ -2205,9 +2205,6 @@ enum {
>   * may be needed for precise access rights control and precise exceptions.
>   */
>  enum {
> -    /* 1 bit to define user level / supervisor access */
> -    ACCESS_USER  = 0x00,
> -    ACCESS_SUPER = 0x01,
>      /* Type of instruction that generated the access */
>      ACCESS_CODE  = 0x10, /* Code fetch access                */
>      ACCESS_INT   = 0x20, /* Integer load/store access        */
diff mbox series

Patch

diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index 2609e4082ed..cb002102888 100644
--- a/target/ppc/cpu.h
+++ b/target/ppc/cpu.h
@@ -2205,9 +2205,6 @@  enum {
  * may be needed for precise access rights control and precise exceptions.
  */
 enum {
-    /* 1 bit to define user level / supervisor access */
-    ACCESS_USER  = 0x00,
-    ACCESS_SUPER = 0x01,
     /* Type of instruction that generated the access */
     ACCESS_CODE  = 0x10, /* Code fetch access                */
     ACCESS_INT   = 0x20, /* Integer load/store access        */