[linux-pm] Problems with PM_FREEZE

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

 



On St 28-09-05 17:13:44, Alan Stern wrote:
> On Wed, 28 Sep 2005, Pavel Machek wrote:
> 
> > > The problem that no pm_message_t is passed to resume routines.
> > > 
> > > Another solution would be to create a globally-available subroutine, 
> > > something like:
> > > 
> > > 	int resuming_from_disk(void)
> > 
> > No. We do not have freezing_devices() nor suspending_devices(), and we
> > should not have this one.
> 
> Well, it would be a lot easier than changing all the resume routines.
> 
> Do you have some reason for not allowing this?

Yes, it is ugly and inconsistent.
								Pavel

-- 
if you have sharp zaurus hardware you don't need... you know my address

[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