summaryrefslogtreecommitdiffstats
path: root/sys/i386/xen/pmap.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2009-09-01 06:15:50 +0000
committeradrian <adrian@FreeBSD.org>2009-09-01 06:15:50 +0000
commitce36458bc885a611a3164145f2e49ae15cfa896a (patch)
treef90af92f254ebcaf9e9b5e25b560745f7e13ff1a /sys/i386/xen/pmap.c
parente9cbe6344164a14f33c34dd7bbd243d48e7ce374 (diff)
downloadFreeBSD-src-ce36458bc885a611a3164145f2e49ae15cfa896a.zip
FreeBSD-src-ce36458bc885a611a3164145f2e49ae15cfa896a.tar.gz
Migrate to use cpuset_t.
Diffstat (limited to 'sys/i386/xen/pmap.c')
-rw-r--r--sys/i386/xen/pmap.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c
index 433ca1c..37c7d37 100644
--- a/sys/i386/xen/pmap.c
+++ b/sys/i386/xen/pmap.c
@@ -1729,7 +1729,7 @@ retry:
* Deal with a SMP shootdown of other users of the pmap that we are
* trying to dispose of. This can be a bit hairy.
*/
-static u_int *lazymask;
+static cpumask_t *lazymask;
static u_int lazyptd;
static volatile u_int lazywait;
@@ -1738,7 +1738,7 @@ void pmap_lazyfix_action(void);
void
pmap_lazyfix_action(void)
{
- u_int mymask = PCPU_GET(cpumask);
+ cpumask_t mymask = PCPU_GET(cpumask);
#ifdef COUNT_IPIS
(*ipi_lazypmap_counts[PCPU_GET(cpuid)])++;
@@ -1750,7 +1750,7 @@ pmap_lazyfix_action(void)
}
static void
-pmap_lazyfix_self(u_int mymask)
+pmap_lazyfix_self(cpumask_t mymask)
{
if (rcr3() == lazyptd)
@@ -1762,8 +1762,7 @@ pmap_lazyfix_self(u_int mymask)
static void
pmap_lazyfix(pmap_t pmap)
{
- u_int mymask;
- u_int mask;
+ cpumask_t mymask, mask;
u_int spins;
while ((mask = pmap->pm_active) != 0) {
OpenPOWER on IntegriCloud