Uh, I think it can be done perfectly as:
on_each_cpu (rtf_h_init, NULL, 1, 1);
with:
rtf_h_init (void *dummy) {
const int cpu = get_cpu();
struct rtf_h *h = per_cpu (rtf_lh, cpu);
/* ... blah ... init the queues */
put_cpu();
}
If I am wrong, pls let me know ...
TIA again
Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own
(and my fault)
-
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/