RE: ACPI sleep: check error values and disable it on SMP

Grover, Andrew
2003-06-10T16:38:39Z

> From: Pavel Machek [mailto:pavel-+ZI9xUNit7I@public.gmane.org]
> > > +#ifdef CONFIG_SMP
> > > + /* Suspend is hard to get right on SMP. */
> > > + return AE_ERROR;
> > > +#endif

This part shouldn't be an #ifdef it should be a runtime check of
num_online_cpus().

Regards -- Andy