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

Russell King - ARM Linux
2009-11-26T10:50:02Z

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.