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/sparc64 | |
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/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/mp_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c index b03412e..fccfb6f 100644 --- a/sys/sparc64/sparc64/mp_machdep.c +++ b/sys/sparc64/sparc64/mp_machdep.c @@ -557,7 +557,7 @@ spitfire_ipi_selected(cpuset_t cpus, u_long d0, u_long d1, u_long d2) { u_int cpu; - while ((cpu = cpusetobj_ffs(&cpus)) != 0) { + while ((cpu = CPU_FFS(&cpus)) != 0) { cpu--; CPU_CLR(cpu, &cpus); spitfire_ipi_single(cpu, d0, d1, d2); |