IIRC, the semantics of smp_call_function() are to call the function on
all other cpus. So shouldn't this be
return smp_call_function_on_cpu(func, info, wait, cpu_online_map & ~(1<<smp_processor_id()));
?
Also, maybe you were planning to do this in a future patch, but
shouldn't smp_call_function() be moved to non-arch-specific code, given
this change?
-Justin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/