mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Catch up to tte.h changes.
This commit is contained in:
parent
2dbb68a495
commit
8a9bbbc50a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97032
|
@ -138,10 +138,10 @@ _kvm_kvatop(kvm_t *kd, u_long va, u_long *pa)
|
|||
_kvm_syserr(kd, kd->program, "_kvm_vatop: read");
|
||||
goto invalid;
|
||||
}
|
||||
if (!tte_match(tte, va))
|
||||
if (!tte_match(&tte, va))
|
||||
goto invalid;
|
||||
|
||||
*pa = TD_PA(tte.tte_data) + offset;
|
||||
*pa = TTE_GET_PA(&tte) + offset;
|
||||
return (PAGE_SIZE - offset);
|
||||
|
||||
invalid:
|
||||
|
|
Loading…
Reference in a new issue