Re: [PATCH 01/21] sched: Provide scheduler_ipi() callback in responseto smp_send_reschedule()

From: Tony Luck
Date: Wed Apr 13 2011 - 17:15:21 EST


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’

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