[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Use global system_state to avoid system-state confusion
On Iau, 2004-08-19 at 12:36, Pavel Machek wrote:
> Hi!
> I started using system_state (already defined in kernel.h) to allow
> drivers to do something different in response to swsusp. This at least
> kills ide-disk.c hack.
> Please apply,
> - printk("Shutdown: %s\n", drive->name);
> dev->bus->suspend(dev, PM_SUSPEND_STANDBY);
> }

Please leave the printk - its very handy for debugging IDE exit paths,
and those are not entirely bug free yet.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.042 / U:8.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site