Re: 2.6.4-rc2-mm1

Valdis.Kletnieks
2004-03-08T22:00:39Z

On Sun, 07 Mar 2004 22:32:21 PST, Andrew Morton <akpm@osdl.org> said:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.4-rc2/2.6.4
-rc2-mm1/

> Changes since 2.6.4-rc1-mm2:
>
>
> linus.patch

The Linus patch apparently has a half-done fix - it does it in smp.c but not
in io_apic.c - so building non-SMP we get:

arch/i386/kernel/io_apic.c:703: error: conflicting types for 'send_IPI_self'
include/asm/hw_irq.h:54: error: previous declaration of 'send_IPI_self' was here
arch/i386/kernel/io_apic.c:703: error: conflicting types for 'send_IPI_self'
include/asm/hw_irq.h:54: error: previous declaration of 'send_IPI_self' was here

Fix:

--- linux-2.6.4-rc2-mm1/arch/i386/kernel/io_apic.c.akpm 2004-03-08 16:53:02.337724358 -0500
+++ linux-2.6.4-rc2-mm1/arch/i386/kernel/io_apic.c 2004-03-08 16:53:20.950171060 -0500
@@ -699,7 +699,7 @@
#endif /* CONFIG_IRQBALANCE */

#ifndef CONFIG_SMP
-void send_IPI_self(int vector)
+void fastcall send_IPI_self(int vector)
{
unsigned int cfg;