From c3d11d22bee4421a959f1817ba5d19f4ad4003f5 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 28 Aug 2004 20:27:12 +0000 Subject: [PATCH] Eliminate unnecessary indirection. --- sys/powerpc/aim/mmu_oea.c | 4 ++-- sys/powerpc/powerpc/mmu_oea.c | 4 ++-- sys/powerpc/powerpc/pmap.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index 294be7c2897e..e9556fef684b 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -1879,8 +1879,8 @@ pmap_pvo_enter(pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head, LIST_INSERT_HEAD(pvo_head, pvo, pvo_vlink); if (pvo->pvo_pte.pte_lo & PVO_WIRED) - pvo->pvo_pmap->pm_stats.wired_count++; - pvo->pvo_pmap->pm_stats.resident_count++; + pm->pm_stats.wired_count++; + pm->pm_stats.resident_count++; /* * We hope this succeeds but it isn't required. diff --git a/sys/powerpc/powerpc/mmu_oea.c b/sys/powerpc/powerpc/mmu_oea.c index 294be7c2897e..e9556fef684b 100644 --- a/sys/powerpc/powerpc/mmu_oea.c +++ b/sys/powerpc/powerpc/mmu_oea.c @@ -1879,8 +1879,8 @@ pmap_pvo_enter(pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head, LIST_INSERT_HEAD(pvo_head, pvo, pvo_vlink); if (pvo->pvo_pte.pte_lo & PVO_WIRED) - pvo->pvo_pmap->pm_stats.wired_count++; - pvo->pvo_pmap->pm_stats.resident_count++; + pm->pm_stats.wired_count++; + pm->pm_stats.resident_count++; /* * We hope this succeeds but it isn't required. diff --git a/sys/powerpc/powerpc/pmap.c b/sys/powerpc/powerpc/pmap.c index 294be7c2897e..e9556fef684b 100644 --- a/sys/powerpc/powerpc/pmap.c +++ b/sys/powerpc/powerpc/pmap.c @@ -1879,8 +1879,8 @@ pmap_pvo_enter(pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head, LIST_INSERT_HEAD(pvo_head, pvo, pvo_vlink); if (pvo->pvo_pte.pte_lo & PVO_WIRED) - pvo->pvo_pmap->pm_stats.wired_count++; - pvo->pvo_pmap->pm_stats.resident_count++; + pm->pm_stats.wired_count++; + pm->pm_stats.resident_count++; /* * We hope this succeeds but it isn't required.