On Mon, 25 Feb 2013 23:50:23 +0100 Daniel Lezcano daniel.lezcano@linaro.org 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.