aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r--target-ppc/helper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index bb13195a72..538d9f34c4 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -1205,7 +1205,7 @@ static always_inline void ppc4xx_tlb_invalidate_virt (CPUState *env,
#endif
}
-int mmu40x_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
+static int mmu40x_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
target_ulong address, int rw, int access_type)
{
ppcemb_tlb_t *tlb;
@@ -1287,9 +1287,9 @@ void store_40x_sler (CPUPPCState *env, uint32_t val)
env->spr[SPR_405_SLER] = val;
}
-int mmubooke_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
- target_ulong address, int rw,
- int access_type)
+static int mmubooke_get_physical_address (CPUState *env, mmu_ctx_t *ctx,
+ target_ulong address, int rw,
+ int access_type)
{
ppcemb_tlb_t *tlb;
target_phys_addr_t raddr;