diff options
author | jeff <jeff@FreeBSD.org> | 2013-06-13 20:46:03 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2013-06-13 20:46:03 +0000 |
commit | 7ee88fb112275ba704d022b9feebc6bbd4cddf2e (patch) | |
tree | 88a1eaa0fdaa8c6f93574ecfb224a95f498892b9 /sys/i386/xen/pmap.c | |
parent | 21c714c60959a0ddca57e0500d0f93287099f971 (diff) | |
download | FreeBSD-src-7ee88fb112275ba704d022b9feebc6bbd4cddf2e.zip FreeBSD-src-7ee88fb112275ba704d022b9feebc6bbd4cddf2e.tar.gz |
- Add a BIT_FFS() macro and use it to replace cpusetffs_obj()
Discussed with: attilio
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/i386/xen/pmap.c')
-rw-r--r-- | sys/i386/xen/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c index 01a493c..96988e2 100644 --- a/sys/i386/xen/pmap.c +++ b/sys/i386/xen/pmap.c @@ -1707,7 +1707,7 @@ pmap_lazyfix(pmap_t pmap) spins = 50000000; /* Find least significant set bit. */ - lsb = cpusetobj_ffs(&mask); + lsb = CPU_FFS(&mask); MPASS(lsb != 0); lsb--; CPU_SETOF(lsb, &mask); |