Re: [PATCH 01/21] sched: Provide scheduler_ipi() callback inresponse to smp_send_reschedule()

From: Peter Zijlstra
Date: Wed Apr 13 2011 - 17:39:40 EST


On Wed, 2011-04-13 at 14:15 -0700, Tony Luck wrote:
> On Tue, Apr 5, 2011 at 8:23 AM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> > --- linux-2.6.orig/arch/ia64/kernel/irq_ia64.c
> > +++ linux-2.6/arch/ia64/kernel/irq_ia64.c
> > @@ -31,6 +31,7 @@
> > #include <linux/irq.h>
> > #include <linux/ratelimit.h>
> > #include <linux/acpi.h>
> > +#include <linux/sched.h>
> >
> > #include <asm/delay.h>
> > #include <asm/intrinsics.h>
> > @@ -496,6 +497,7 @@ ia64_handle_irq (ia64_vector vector, str
> > smp_local_flush_tlb();
> > kstat_incr_irqs_this_cpu(irq, desc);
> > } else if (unlikely(IS_RESCHEDULE(vector))) {
> > + scheduler_ipi();
> > kstat_incr_irqs_this_cpu(irq, desc);
> > } else {
> > ia64_setreg(_IA64_REG_CR_TPR, vector);
>
> This bit breaks ia64 CONFIG_SMP=n builds in next-20110413 with:
>
> arch/ia64/kernel/irq_ia64.c: In function âia64_handle_irqâ:
> arch/ia64/kernel/irq_ia64.c:500: error: implicit declaration of
> function âscheduler_ipiâ

Ah, I didn't think arch code would have the reschedule interrupt on UP.
I'll provide an empty stub. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/