Alter the previous commit to use vm_size_t instead of vm_pindex_t.
vm_pindex_t is not a count of pages per se, it is more like vm_ooffset_t, but a page index instead of a byte offset.
This commit is contained in:
parent
43cbf1a696
commit
8407f69657
@ -223,7 +223,7 @@ _vm_phys_create_seg(vm_paddr_t start, vm_paddr_t end, int flind, int domain)
|
||||
{
|
||||
struct vm_phys_seg *seg;
|
||||
#ifdef VM_PHYSSEG_SPARSE
|
||||
vm_pindex_t pages;
|
||||
vm_size_t pages;
|
||||
int segind;
|
||||
|
||||
pages = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user