diff options
author | bz <bz@FreeBSD.org> | 2010-01-08 16:56:11 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-01-08 16:56:11 +0000 |
commit | cf45a454994dbbdf0cab7cf45e7ecb898ff69386 (patch) | |
tree | b50a3256fc4ef10b67bc3378d7ae170427d5e112 /sys/i386/xen | |
parent | 2ced506c4ba5a61ef2988ad4fafc85fd824c57b5 (diff) | |
download | FreeBSD-src-cf45a454994dbbdf0cab7cf45e7ecb898ff69386.zip FreeBSD-src-cf45a454994dbbdf0cab7cf45e7ecb898ff69386.tar.gz |
Unbreak the XEN build after r201751.
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/pmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c index aaf33ba..8cd7f00 100644 --- a/sys/i386/xen/pmap.c +++ b/sys/i386/xen/pmap.c @@ -318,7 +318,9 @@ 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 +#ifndef XEN static void pmap_set_pg(void); +#endif CTASSERT(1 << PDESHIFT == sizeof(pd_entry_t)); CTASSERT(1 << PTESHIFT == sizeof(pt_entry_t)); @@ -550,6 +552,7 @@ pmap_init_pat(void) wrmsr(MSR_PAT, pat_msr); } +#ifndef XEN /* * Set PG_G on kernel pages. Only the BSP calls this when SMP is turned on. */ @@ -588,6 +591,7 @@ pmap_set_pg(void) } } } +#endif /* * Initialize a vm_page's machine-dependent fields. |