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
86771720e4
commit
2e0db42a5f
@ -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…
x
Reference in New Issue
Block a user