[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E39CD63.409@zytor.com>
Date: Wed, 03 Aug 2011 15:36:19 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Len Brown <lenb@...nel.org>
CC: linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Len Brown <len.brown@...el.com>, x86@...nel.org,
Kevin Hilman <khilman@...prootsystems.com>,
Paul Mundt <lethal@...ux-sh.org>
Subject: Re: [PATCH 5/5] cpuidle: stop depending on pm_idle
On 08/03/2011 12:44 PM, Len Brown wrote:
> From: Len Brown <len.brown@...el.com>
>
> 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@...nel.org
> cc: Kevin Hilman <khilman@...prootsystems.com>
> cc: Paul Mundt <lethal@...ux-sh.org>
> Signed-off-by: Len Brown <len.brown@...el.com>
Acked-by: H. Peter Anvin <hpa@...ux.intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists