Re: [PATCH 2/2][RFC] time : set broadcast irq affinity
From: Jacob Pan
Date: Mon Feb 25 2013 - 18:01:00 EST
On Mon, 25 Feb 2013 23:50:23 +0100
Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote:
> Do you mean a cpumask static variable ? and something like:
>
> if (!cpumask_test_cpu(cpu, &affinitymask)) {
> cpumask_set_cpu(cpu, &affinitymask);
> irq_set_affinity(bc->irq, &affinitymask)
> }
yeah. but i think you can use the cpumask in struct clock_event_device.
--
Thanks,
Jacob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/