@@ -41,8 +41,8 @@
struct mmu_ctx_hash32 {
hwaddr raddr; /* Real address */
- int prot; /* Protection bits */
- int key; /* Access key */
+ int prot; /* Protection bits */
+ int key; /* Access key */
};
static int ppc_hash32_pp_prot(int key, int pp, int nx)
@@ -58,11 +58,11 @@ typedef struct mmu_ctx_t mmu_ctx_t;
struct mmu_ctx_t {
hwaddr raddr; /* Real address */
hwaddr eaddr; /* Effective address */
- int prot; /* Protection bits */
+ int prot; /* Protection bits */
hwaddr hash[2]; /* Pagetable hash values */
- target_ulong ptem; /* Virtual segment ID | API */
- int key; /* Access key */
- int nx; /* Non-execute area */
+ target_ulong ptem; /* Virtual segment ID | API */
+ int key; /* Access key */
+ int nx; /* Non-execute area */
};
/* Common routines used by software and hardware TLBs emulation */
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- target-ppc/mmu-hash32.c | 4 ++-- target-ppc/mmu_helper.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-)