mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
We don't have to worry about page sizes when working on virtual
cores (i.e. minidumps). Every segment is virtually contiguous.
This commit is contained in:
parent
f864e2ab73
commit
cfe2be2b5e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260600
|
@ -245,7 +245,7 @@ static size_t
|
|||
virt_kvatop(kvm_t *kd, uint64_t va, off_t *ofs)
|
||||
{
|
||||
|
||||
return (virt_addr2off(kd, va, ofs, kd->vmst->pagesize));
|
||||
return (virt_addr2off(kd, va, ofs, 0));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue