diff options
author | alc <alc@FreeBSD.org> | 2010-01-07 17:34:45 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-01-07 17:34:45 +0000 |
commit | 8c9e26004955ef5a1a8c11be009cfd43d511e975 (patch) | |
tree | 762d516f6729c7b92a9b9f76c6950e4a58431346 /sys/i386/xen | |
parent | d121f05cac6a6999edd08af7917ea45996a04216 (diff) | |
download | FreeBSD-src-8c9e26004955ef5a1a8c11be009cfd43d511e975.zip FreeBSD-src-8c9e26004955ef5a1a8c11be009cfd43d511e975.tar.gz |
Make pmap_set_pg() static.
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/pmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c index c5c3e66..aaf33ba 100644 --- a/sys/i386/xen/pmap.c +++ b/sys/i386/xen/pmap.c @@ -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; |