Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org> --- target-ppc/mmu-hash32.c | 4 ++-- target-ppc/mmu_helper.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/target-ppc/mmu-hash32.c b/target-ppc/mmu-hash32.c index dfee358..a2f4ce2 100644 --- a/target-ppc/mmu-hash32.c +++ b/target-ppc/mmu-hash32.c @@ -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) diff --git a/target-ppc/mmu_helper.c b/target-ppc/mmu_helper.c index 54bc5d1..18d34cc 100644 --- a/target-ppc/mmu_helper.c +++ b/target-ppc/mmu_helper.c @@ -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 */ -- 2.5.0