lkml.org 
[lkml]   [2002]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] solved APM bug with -rc5
From
Date
On Thu, 2002-08-01 at 21:35, Willy TARREAU wrote:

>
> +#ifdef CONFIG_SMP
> + /* 2002/08/01 - WT
> + * This is to avoid random crashes at boot time during initialization
> + * on SMP systems in case of "apm=power-off" mode. Seen on ASUS A7M266D.
> + * Some bioses don't like being called from CPU != 0.
> + */
> + while (cpu_number_map(smp_processor_id()) != 0) {
> + schedule();
> + }
> +#endif

What guarantees that loop will ever exit ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.173 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site