Messages in this thread | | | Subject | Re: [PATCH 01/21] sched: Provide scheduler_ipi() callback in response to smp_send_reschedule() | From | Peter Zijlstra <> | Date | Wed, 13 Apr 2011 23:38:57 +0200 |
| |
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@chello.nl> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |