On Fri, 2007-04-06 at 01:30 +0200, Rafael J. Wysocki wrote: > Well is this possible to do something like > > if (pm_ops->do_something_before_disabling_irqs) > pm_ops->do_something_before_disabling_irqs() > local_irq_save(flags); > if (pm_ops->do_something_after_disabling_irqs) > pm_ops->do_something_after_disabling_irqs() > > and analogously for enabling the IRQs? Ultimately yes, but is it worth the added complexity? Somebody mucking with pm_ops has to know what he's doing anyway. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm