Re: [PATCH] 2.5: preemptive kernel on UP

Robert Love (rml@tech9.net)
04 Mar 2002 19:51:33 -0500


On Mon, 2002-03-04 at 19:43, Russell King wrote:

> > diff -urN linux-2.5.6-pre2/arch/alpha/kernel/entry.S linux/arch/alpha/kernel/entry.S
> > --- linux-2.5.6-pre2/arch/alpha/kernel/entry.S Fri Mar 1 17:21:14 2002
> > +++ linux/arch/alpha/kernel/entry.S Mon Mar 4 17:49:27 2002
> > @@ -495,7 +495,7 @@
> > ret $31,($26),1
> > .end alpha_switch_to
> >
> > -#ifdef CONFIG_SMP
> > +#ifdef CONFIG_SMP || CONFIG_PREEMPT
>
> Surely you really don't mean this?

Yes, why? We need to call schedule_tail ...

Robert Love

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