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? Alan Stern