On Saturday 02 March 2013 05:26 AM, Nishanth Menon wrote:
> On 17:41-20130301, Santosh Shilimkar wrote:
>> diff --git a/arch/arm/mach-omap2/cpuidle44xx.c
>> b/arch/arm/mach-omap2/cpuidle44xx.c
>> index 9de47a7..df81243 100644
>> --- a/arch/arm/mach-omap2/cpuidle44xx.c
>> +++ b/arch/arm/mach-omap2/cpuidle44xx.c
> [...]
>> @@ -234,11 +237,12 @@ int __init omap4_idle_init(void)
>> on_each_cpu(omap_setup_broadcast_timer, NULL, 1);
>>
>> for_each_cpu(cpu_id, cpu_online_mask) {
>> - dev = &per_cpu(omap4_idle_dev, cpu_id);
>> + dev = &per_cpu(omap_idle_dev, cpu_id);
>> dev->cpu = cpu_id;
>> #ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED
>> dev->coupled_cpus = *cpu_online_mask;
>> #endif
>> + state_ptr = &omap4_idle_data[0];
> minor:
> why initialize it twice (cpu0 and cpu1) to the same pointer in each of
> the for_each_cpu loop? you could move it maybe just before the loop?
Good point
>> cpuidle_register_driver(&omap4_idle_driver);
>>
>> if (cpuidle_register_device(dev)) {
> Otherwise,
> Acked-by: Nishanth Menon <[email protected]>
>
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
- Re: [PATCH 06/15] ARM: OMAP5: PM: Enable Mercury re... Nishanth Menon
- Re: [PATCH 06/15] ARM: OMAP5: PM: Enable Mercur... Santosh Shilimkar
- Re: [PATCH 06/15] ARM: OMAP5: PM: Enable Me... Nishanth Menon
- [PATCH 09/15] ARM: OMAP4+: PM: Restore CPU power state t... Santosh Shilimkar
- Re: [PATCH 09/15] ARM: OMAP4+: PM: Restore CPU powe... Nishanth Menon
- Re: [PATCH 09/15] ARM: OMAP4+: PM: Restore CPU ... Santosh Shilimkar
- [PATCH 10/15] ARM: OMAP5: PM: Add MPU Open Switch Retent... Santosh Shilimkar
- Re: [PATCH 10/15] ARM: OMAP5: PM: Add MPU Open Swit... Nishanth Menon
- [PATCH 12/15] ARM: OMAP4+: CPUidle: Cleanup idle driver ... Santosh Shilimkar
- Re: [PATCH 12/15] ARM: OMAP4+: CPUidle: Cleanup idl... Nishanth Menon
- Re: [PATCH 12/15] ARM: OMAP4+: CPUidle: Cleanup... Santosh Shilimkar
- [PATCH 07/15] ARM: OMAP5: Add init_late() hook to enable... Santosh Shilimkar
- Re: [PATCH 07/15] ARM: OMAP5: Add init_late() hook ... Nishanth Menon
- Re: [PATCH 07/15] ARM: OMAP5: Add init_late() h... Santosh Shilimkar
- Re: [PATCH 07/15] ARM: OMAP5: Add init_late... Nishanth Menon
- [PATCH 08/15] ARM: OMAP5: PM: Add CPU power off mode sup... Santosh Shilimkar
- Re: [PATCH 08/15] ARM: OMAP5: PM: Add CPU power off... Nishanth Menon
- Re: [PATCH 08/15] ARM: OMAP5: PM: Add CPU power... Santosh Shilimkar
- Re: [PATCH 08/15] ARM: OMAP5: PM: Add CPU p... Nishanth Menon
- [PATCH 11/15] ARM: OMAP5: PM: Add L2 memory power down s... Santosh Shilimkar
- Re: [PATCH 11/15] ARM: OMAP5: PM: Add L2 memory pow... Nishanth Menon
