RE: ACPI sleep: check error values and disable it on SMP
From: Grover, Andrew <hidden>
Date: 2003-06-10 16:38:39
From: Grover, Andrew <hidden>
Date: 2003-06-10 16:38:39
From: Pavel Machek [mailto:pavel-+ZI9xUNit7I@public.gmane.org]quoted
quoted
+#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 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.