[PATCH 2/4] ARM: smp_twd: create a percpu reference to the clockevent

Linus Walleij linus.walleij at linaro.org
Tue Dec 13 06:31:03 EST 2011


On Mon, Dec 12, 2011 at 2:49 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Mon, Dec 12, 2011 at 10:57:10AM +0100, Linus Walleij wrote:
>>  static unsigned long twd_timer_rate;
>> +static DEFINE_PER_CPU(struct clock_event_device *, twd_ce);
>>
>>  static struct clock_event_device __percpu **twd_evt;
>
> So, one pointer to the clock_event_device is not enough?  Could we have
> one or the other?

Bah, just me being lame and not seeing that Marc already made
these events per-cpu.

I'll update the CPUfreq patch and drop this crap.

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list