Re: Linux 2.6.6 "IDE cache-flush at shutdown fixes"

From: Andrew Morton
Date: Fri May 14 2004 - 20:05:19 EST


Pavel Machek <pavel@xxxxxx> wrote:
>
> > > It's a bit grubby, but we could easily add a fourth state to
> > > `system_state': split SYSTEM_SHUTDOWN into SYSTEM_REBOOT and SYSTEM_HALT.
> > > That would be a quite simple change.
> >
> > Like this. I checked all the SYSTEM_FOO users and none of them seem to
> > care about the shutdown state at present. Easy.
>
> Perhaps this should be parameter to device_shutdown? This is quite
> ugly.

That was judged to be a 2.7 exercise. Seems to affect 143 files already.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/