SMP local timers and their CPUfreq notifiers setup on OMAP3

Shilimkar, Santosh santosh.shilimkar at ti.com
Tue Feb 21 04:26:07 EST 2012


On Tue, Feb 21, 2012 at 2:41 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> 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'.
Yep.
Fixed in the updated version in patch system.
patch 7336/1

Regards
Santosh



More information about the linux-arm-kernel mailing list