diff options
| author | Timothy Pearson <tpearson@FreeBSD.org> | 2026-02-04 05:16:39 +0000 |
|---|---|---|
| committer | Timothy Pearson <tpearson@FreeBSD.org> | 2026-02-05 16:42:01 +0000 |
| commit | 1364e7d0921bfd79738dae80748d836730e39056 (patch) | |
| tree | 7d5e1f2ed19ece3aaf5876c863c0c568ade77e39 | |
| parent | 0d3652f67d246348e2c017205c6782caf4484449 (diff) | |
| -rw-r--r-- | sys/powerpc/aim/mmu_oea64.c | 3 | ||||
| -rw-r--r-- | sys/powerpc/aim/mmu_oea64.h | 1 | ||||
| -rw-r--r-- | sys/powerpc/aim/mmu_radix.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c index c82c5c539de2..a7042ffb02a9 100644 --- a/sys/powerpc/aim/mmu_oea64.c +++ b/sys/powerpc/aim/mmu_oea64.c @@ -164,9 +164,10 @@ extern void *slbtrap, *slbtrapend; static struct mem_region *regions; static struct mem_region *pregions; static struct numa_mem_region *numa_pregions; -static u_int phys_avail_count; static int regions_sz, pregions_sz, numapregions_sz; +u_int phys_avail_count; + extern void bs_remap_earlyboot(void); /* diff --git a/sys/powerpc/aim/mmu_oea64.h b/sys/powerpc/aim/mmu_oea64.h index 38b743159980..bc93cf4d521d 100644 --- a/sys/powerpc/aim/mmu_oea64.h +++ b/sys/powerpc/aim/mmu_oea64.h @@ -139,5 +139,6 @@ extern u_long moea64_pteg_count; extern u_long moea64_pteg_mask; extern int n_slbs; extern bool moea64_has_lp_4k_16m; +extern u_int phys_avail_count; #endif /* _POWERPC_AIM_MMU_OEA64_H */ diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c index a12142fc2d7b..85008de83870 100644 --- a/sys/powerpc/aim/mmu_radix.c +++ b/sys/powerpc/aim/mmu_radix.c @@ -632,7 +632,6 @@ static unsigned int isa3_base_pid; */ static struct mem_region *regions, *pregions; static struct numa_mem_region *numa_pregions; -static u_int phys_avail_count; static int regions_sz, pregions_sz, numa_pregions_sz; static struct pate *isa3_parttab; static struct prte *isa3_proctab; |
