mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(),
which has been unused since r189415. Reviewed by: alc MFC after: 3 days
This commit is contained in:
parent
86390f9444
commit
24da2fe3d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260103
|
@ -1765,16 +1765,6 @@ pmap_invalidate_cache_pages(vm_page_t *pages, int count)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Are we current address space or kernel?
|
||||
*/
|
||||
static __inline int
|
||||
pmap_is_current(pmap_t pmap)
|
||||
{
|
||||
return (pmap == kernel_pmap ||
|
||||
(pmap->pm_pml4[PML4PML4I] & PG_FRAME) == (PML4pml4e[0] & PG_FRAME));
|
||||
}
|
||||
|
||||
/*
|
||||
* Routine: pmap_extract
|
||||
* Function:
|
||||
|
|
Loading…
Reference in a new issue