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

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Dec 12 08:49:04 EST 2011


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?



More information about the linux-arm-kernel mailing list