diff options
author | adrian <adrian@FreeBSD.org> | 2009-09-01 06:15:50 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2009-09-01 06:15:50 +0000 |
commit | ce36458bc885a611a3164145f2e49ae15cfa896a (patch) | |
tree | f90af92f254ebcaf9e9b5e25b560745f7e13ff1a /sys/i386/xen | |
parent | e9cbe6344164a14f33c34dd7bbd243d48e7ce374 (diff) | |
download | FreeBSD-src-ce36458bc885a611a3164145f2e49ae15cfa896a.zip FreeBSD-src-ce36458bc885a611a3164145f2e49ae15cfa896a.tar.gz |
Migrate to use cpuset_t.
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/pmap.c | 9 |
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) { |