Make pmap_set_pg() static.
This commit is contained in:
parent
10302b1ade
commit
28a5e2a5d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201751
@ -321,6 +321,7 @@ static vm_offset_t pmap_kmem_choose(vm_offset_t addr);
|
||||
#ifdef PAE
|
||||
static void *pmap_pdpt_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait);
|
||||
#endif
|
||||
static void pmap_set_pg(void);
|
||||
|
||||
CTASSERT(1 << PDESHIFT == sizeof(pd_entry_t));
|
||||
CTASSERT(1 << PTESHIFT == sizeof(pt_entry_t));
|
||||
@ -548,7 +549,7 @@ pmap_init_pat(void)
|
||||
/*
|
||||
* Set PG_G on kernel pages. Only the BSP calls this when SMP is turned on.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
pmap_set_pg(void)
|
||||
{
|
||||
pd_entry_t pdir;
|
||||
|
@ -480,7 +480,6 @@ boolean_t pmap_page_is_mapped(vm_page_t m);
|
||||
void pmap_page_set_memattr(vm_page_t m, vm_memattr_t ma);
|
||||
void pmap_unmapdev(vm_offset_t, vm_size_t);
|
||||
pt_entry_t *pmap_pte(pmap_t, vm_offset_t) __pure2;
|
||||
void pmap_set_pg(void);
|
||||
void pmap_invalidate_page(pmap_t, vm_offset_t);
|
||||
void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t);
|
||||
void pmap_invalidate_all(pmap_t);
|
||||
|
@ -318,6 +318,7 @@ static __inline void pagezero(void *page);
|
||||
#if defined(PAE) && !defined(XEN)
|
||||
static void *pmap_pdpt_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait);
|
||||
#endif
|
||||
static void pmap_set_pg(void);
|
||||
|
||||
CTASSERT(1 << PDESHIFT == sizeof(pd_entry_t));
|
||||
CTASSERT(1 << PTESHIFT == sizeof(pt_entry_t));
|
||||
@ -552,7 +553,7 @@ pmap_init_pat(void)
|
||||
/*
|
||||
* Set PG_G on kernel pages. Only the BSP calls this when SMP is turned on.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
pmap_set_pg(void)
|
||||
{
|
||||
pd_entry_t pdir;
|
||||
|
Loading…
Reference in New Issue
Block a user