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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux