Re: [PATCH] sched.c

From: Thunder from the hill (thunder@lightweight.ods.org)
Date: Wed Aug 28 2002 - 08:45:11 EST


Hi,

On Tue, 27 Aug 2002, Stephen C. Biggs wrote:
> > > > for (i = NR_CPUS; --i >= 0; )
> > >
> > > int i = NR_CPUS;
> > >
> > > while (--i)
>
> for (i = NR_CPUS - 1; i >= 0; i--)
>
> unless i is unsigned...

That was exactly the point, yours was the current code, and i is indeed
unsigned.

                        Thunder

-- 
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-

- 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/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:23 EST