Re: [PATCH] pm_ops: add irq enable/disable hooks

Benjamin Herrenschmidt
2007-04-11T21:40:33Z

> Have you guys considered using a notifier chain for this? The platform
> code could register itself on the chain at boot time. When suspending you
> send out notifications just before and just after disabling interrupts,
> and inversely on resume.

Except that in the case of the decrementer, I really need to be just
around the actual switching of irqs off ...

Ben.