mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
powerpc: mmu_radix_page_array_startup(): Don't force allocation from domain 0
In this case, the domain from which the memory to back the VM page array is allocated does not matter, so just let vm_phys_early_alloc() choose a suitable domain. Reviewed by: jhibbits, markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48888
This commit is contained in:
parent
16317a174a
commit
0ebd9cf85d
1 changed files with 1 additions and 1 deletions
|
|
@ -6438,7 +6438,7 @@ mmu_radix_page_array_startup(long pages)
|
|||
start = VM_MIN_KERNEL_ADDRESS;
|
||||
end = start + pages * sizeof(struct vm_page);
|
||||
|
||||
pa = vm_phys_early_alloc(0, end - start);
|
||||
pa = vm_phys_early_alloc(-1, end - start);
|
||||
|
||||
start = mmu_radix_map(&start, pa, end - start, VM_MEMATTR_DEFAULT);
|
||||
#ifdef notyet
|
||||
|
|
|
|||
Loading…
Reference in a new issue