Re: [PATCH] [25/48] Suspend2 2.1.9.8 for 2.6.12: 602-smp.patch

Nigel Cunningham
2005-07-06T18:00:31Z

Hi.

On Wed, 2005-07-06 at 22:03, Pekka Enberg wrote:

[snip]

> > +#define SUSPEND_SINGLESTEP 10
> > +#define SUSPEND_PAUSE_NEAR_PAGESET_END 11
> > +#define SUSPEND_USE_ACPI_S4 12
> > +#define SUSPEND_KEEP_METADATA 13
> > +#define SUSPEND_TEST_FILTER_SPEED 14
> > +#define SUSPEND_FREEZE_TIMERS 15
> > +#define SUSPEND_DISABLE_SYSDEV_SUPPORT 16
> > +#define SUSPEND_VGA_POST 17
> > +
> > +#define TEST_ACTION_STATE(bit) (test_bit(bit, &suspend_action))
> > +#define SET_ACTION_STATE(bit) (test_and_set_bit(bit, &suspend_action))
> > +#define CLEAR_ACTION_STATE(bit) (test_and_clear_bit(bit, &suspend_action))
>
> Enums, please.

Done. I'm off to bed now. Don't think I'm ignoring the rest :>

Nigel

--
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.
Be amazed that people believe it happened.