[RESENT PATCH] Don't disable irqs in set_next_event and set_mode callbacks

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Nov 26 05:50:02 EST 2009


On Thu, Nov 26, 2009 at 11:26:04AM +0100, Uwe Kleine-König wrote:
> These functions are called with irqs already off.
> 
> AT91RM2000 had a WARN_ON_ONCE if irqs were enabled since Nov 2008 with
> noone reporting having hit it.

Can we please start to create some documentation for this, even if it
just starts off as "these callbacks are always called with irqs
disabled" or some such thing.

I find the generic time stuff extremely difficult to work with, and I
suspect I'm not the only one.  This is probably why people like to be
sure by having their own IRQ disabling.



More information about the linux-arm-kernel mailing list