summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2013-06-13 20:46:03 +0000
committerjeff <jeff@FreeBSD.org>2013-06-13 20:46:03 +0000
commit7ee88fb112275ba704d022b9feebc6bbd4cddf2e (patch)
tree88a1eaa0fdaa8c6f93574ecfb224a95f498892b9 /sys/sparc64
parent21c714c60959a0ddca57e0500d0f93287099f971 (diff)
downloadFreeBSD-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.c2
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);
OpenPOWER on IntegriCloud