Re: [PATCH 5/5] cpuidle: stop depending on pm_idle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/03/2011 12:44 PM, Len Brown wrote:
> From: Len Brown <len.brown@xxxxxxxxx>
> 
> cpuidle users should call cpuidle_call_idle() directly
> rather than via (pm_idle)() function pointer.
> 
> Architecture may choose to continue using (pm_idle)(),
> but cpuidle need not depend on it:
> 
>   my_arch_cpu_idle()
> 	...
> 	if(cpuidle_call_idle())
> 		pm_idle();
> 
> cc: x86@xxxxxxxxxx
> cc: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>
> cc: Paul Mundt <lethal@xxxxxxxxxxxx>
> Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

Acked-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux