SMP local timers and their CPUfreq notifiers setup on OMAP3

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Feb 21 04:11:24 EST 2012


On Fri, Feb 17, 2012 at 05:58:34PM +0530, Santosh Shilimkar wrote:
> diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c
> index 4285daa..9834851 100644
> --- a/arch/arm/kernel/smp_twd.c
> +++ b/arch/arm/kernel/smp_twd.c
> @@ -129,7 +129,7 @@ static struct notifier_block twd_cpufreq_nb = {
> 
>  static int twd_cpufreq_init(void)
>  {
> -	if (!IS_ERR(twd_clk))
> +	 if (twd_evt && *__this_cpu_ptr(twd_evt) && !IS_ERR(twd_clk))

You seem to have an additional space before 'if'.



More information about the linux-arm-kernel mailing list