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:
John Baldwin 2012-03-19 18:43:44 +00:00
parent 43cbf1a696
commit 8407f69657
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233190

View File

@ -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;