lkml.org 
[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
From
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  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