Re: [PATCH] Fix APM and SMP compile

From: Stephen Rothwell (sfr@linuxcare.com)
Date: Tue Feb 22 2000 - 18:59:16 EST


Hi Manfred,

manfreds@colorfullife.com writes:
> Zitiere Stephen Rothwell <sfr@linuxcare.com>:
>
> > Hi Linus,
> >
> > Please apply ...
> >
> >!= 0 */
> > - while (cpu_number_map[smp_processor_id()] != 0) {
> > + while (cpu_number_map(smp_processor_id()) != 0) {
>
> No. IIRC the implementation of smp_processor_id() has
> changed, replace it with
>
> while (smp_processor_id() != 0)

OK, if you say so, looks good as long as smp_processor_id()
actually returns the PHYSICAL processor id on i386 ...

Cheers,
Stephen

-- 
Stephen Rothwell, Open Source Project Engineer, Linuxcare, Inc.
+61-2-62628990 tel, +61-2-62628991 fax 
sfr@linuxcare.com, http://www.linuxcare.com/ 
Linuxcare. Support for the revolution.

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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:32 EST