mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
vm/vm_phys.c: allow PHYS_TO_VM_PAGE(0) for registered fictitious page @0
PR: 296348 Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D58785
This commit is contained in:
1 parent
8f378c83c6
commit
6a8558cf9f
1 file changed
-3
@@ -212,9 +212,6 @@ static inline int
|
||||
vm_phys_fictitious_in_range(struct vm_phys_fictitious_seg *p,
|
||||
struct vm_phys_fictitious_seg *range)
|
||||
{
|
||||
|
||||
KASSERT(range->start != 0 && range->end != 0,
|
||||
("Invalid range passed on search for vm_fictitious page"));
|
||||
if (p->start >= range->end)
|
||||
return (1);
|
||||
if (p->start < range->start)
|
||||
|
||||
Reference in new issue
Block a user