Page MenuHomeFreeBSD

D55095.diff
No OneTemporary

D55095.diff

diff --git a/sys/powerpc/aim/mmu_oea64.h b/sys/powerpc/aim/mmu_oea64.h
--- a/sys/powerpc/aim/mmu_oea64.h
+++ b/sys/powerpc/aim/mmu_oea64.h
@@ -139,5 +139,6 @@
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_oea64.c b/sys/powerpc/aim/mmu_oea64.c
--- a/sys/powerpc/aim/mmu_oea64.c
+++ b/sys/powerpc/aim/mmu_oea64.c
@@ -206,9 +206,10 @@
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_radix.c b/sys/powerpc/aim/mmu_radix.c
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -632,7 +632,6 @@
*/
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;

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 5, 4:11 PM (13 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40246207
Default Alt Text
D55095.diff (1 KB)

Event Timeline