mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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