Re: [PATCH] sched.c

Thunder from the hill (thunder@lightweight.ods.org)
Wed, 28 Aug 2002 07:45:11 -0600 (MDT)


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/