* Ingo Molnar <[EMAIL PROTECTED]> wrote:

> 
> * cinetic bellini <[EMAIL PROTECTED]> wrote:
> 
> >   LD      .tmp_vmlinux1
> > arch/i386/kernel/built-in.o: In function `do_IRQ':
> > : undefined reference to `irq_show_regs_callback'
> > make: *** [.tmp_vmlinux1] Error 1
> > 
> > I am not sure if I have to enable local APIC. So I tryed different 
> > configurations but always with out success.
> 
> yeah, enabling APIC support should work around this build problem.

the patch below should fix it too.

        Ingo

Index: linux/arch/i386/kernel/irq.c
===================================================================
--- linux.orig/arch/i386/kernel/irq.c
+++ linux/arch/i386/kernel/irq.c
@@ -76,7 +76,9 @@ fastcall notrace unsigned int do_IRQ(str
        u32 *isp;
 #endif
 
+#ifdef CONFIG_X86_LOCAL_APIC
        irq_show_regs_callback(smp_processor_id(), regs);
+#endif
 
        if (unlikely((unsigned)irq >= NR_IRQS)) {
                printk(KERN_EMERG "%s: cannot handle IRQ %d\n",
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to