Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174610826
D55095.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D55095.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D55095: powerpc64: Fix disappearing low memory on radix MMU systems (POWER9)
Attached
Detach File
Event Timeline
Log In to Comment