Skip to contentSkip to conversation

target/ppc: Remove unused MMU definitions

PATCH Applied Philippe Mathieu-Daudé 2 participants 2 messages Jan 27, 2021 – Jan 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/ppc: Remove unused MMU definitions

Remove these confusing and unused definitions.

---
 target/ppc/cpu.h | 3 ---
 1 file changed, 3 deletions(-)
target/ppc/cpu.h +0 -3
index 2609e4082ed..cb002102888 100644
@@ -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        */
Signature · 1 line
2.26.2
Applied
#1 lore raw
Quoted 3 lines · Philippe Mathieu-Daudé

Remove these confusing and unused definitions.

Applied to ppc-for-6.0.

Quoted 18 lines
---
 target/ppc/cpu.h | 3 ---
 1 file changed, 3 deletions(-)
target/ppc/cpu.h +0 -3
index 2609e4082ed..cb002102888 100644
@@ -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        */
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson