From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Pavel Machek <pavel@ucw.cz>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Patrick Mochel <mochel@digitalimplant.org>,
Andrew Morton <akpm@zip.com.au>,
benh@kernel.crashing.org, David Brownell <david-b@pacbell.net>
Subject: Re: Use global system_state to avoid system-state confusion
Date: Thu, 19 Aug 2004 12:11:18 +0100 [thread overview]
Message-ID: <1092913877.27919.13.camel@localhost.localdomain> (raw)
In-Reply-To: <20040819113600.GA1317@elf.ucw.cz>
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.
next prev parent reply other threads:[~2004-08-19 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 11:36 Use global system_state to avoid system-state confusion Pavel Machek
2004-08-19 11:11 ` Alan Cox [this message]
2004-08-20 10:01 ` Pavel Machek
2004-08-19 11:42 ` Nigel Cunningham
2004-08-20 8:26 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1092913877.27919.13.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=akpm@zip.com.au \
--cc=benh@kernel.crashing.org \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@digitalimplant.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox