summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-08-11 23:22:53 +0000
committerjhb <jhb@FreeBSD.org>2010-08-11 23:22:53 +0000
commit1c3734f021a7d3355bb5398297134824bae01846 (patch)
tree249552957600878d34538b3e89363e53ac6d8b92 /sys/powerpc
parentc320859512bcf34cce7e9d6a7d7ce616b7c6a950 (diff)
downloadFreeBSD-src-1c3734f021a7d3355bb5398297134824bae01846.zip
FreeBSD-src-1c3734f021a7d3355bb5398297134824bae01846.tar.gz
Update various places that store or manipulate CPU masks to use cpumask_t
instead of int or u_int. Since cpumask_t is currently u_int on all platforms this should just be a cosmetic change.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/pmap.h b/sys/powerpc/include/pmap.h
index 3b0949c..453964f 100644
--- a/sys/powerpc/include/pmap.h
+++ b/sys/powerpc/include/pmap.h
@@ -99,7 +99,7 @@ struct pmap {
#else
register_t pm_sr[16];
#endif
- u_int pm_active;
+ cpumask_t pm_active;
uint32_t pm_gen_count; /* generation count (pmap lock dropped) */
u_int pm_retries;
@@ -153,7 +153,7 @@ void slb_free_user_cache(struct slb *);
struct pmap {
struct mtx pm_mtx; /* pmap mutex */
tlbtid_t pm_tid[MAXCPU]; /* TID to identify this pmap entries in TLB */
- u_int pm_active; /* active on cpus */
+ cpumask_t pm_active; /* active on cpus */
int pm_refs; /* ref count */
struct pmap_statistics pm_stats; /* pmap statistics */
OpenPOWER on IntegriCloud