Re: [PATCH] 2.5: preemptive kernel on UP

From: Russell King (rmk@arm.linux.org.uk)
Date: Mon Mar 04 2002 - 19:53:18 EST


On Mon, Mar 04, 2002 at 07:51:33PM -0500, Robert Love wrote:
> 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 ...

It's a #ifdef, not a #if

Does this compiler message give you a better idea:

warning: extra tokens at end of #ifdef directive

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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 : Thu Mar 07 2002 - 21:00:37 EST