lkml.org 
[lkml]   [2012]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v1 3/3] ARM: tegra: cpuidle driver for tegra
Date
On Fri, Jan 27, 2012 at 12:40:58, Colin Cross wrote:
> local_irq_enable() is required by the cpuidle call semantics. See
> arch/arm/process.c, it has a WARN_ON(irqs_disabled()) after the
> idle function call. The local_irq_disable() can and probably should
> be dropped, although a comment that the function is called with
> interrupts off and is expected to return with interrupts on would be
> helpful.
>

Ah... I was too fixated on local_irq_disable() and local_irq_enable() in cpu_idle().
Thanks for clarifying.


\
 
 \ /
  Last update: 2012-01-27 09:41    [from the cache]
©2003-2011 Jasper Spaans