Re: [PATCH] irq handling code consolidation (i386 part)

From: Zwane Mwaikambo (zwane@holomorphy.com)
Date: Fri Mar 14 2003 - 01:13:37 EST


On Thu, 13 Mar 2003, Andrey Panin wrote:

> Hi,
>
> irq handling consolidation continues !
>
> i386 specific patch attached. Compiled and WorksForMe(tm)

I'm still going through a few tests but here are some compile fixes for
some configurations i was trying.

ccache gcc -Wp,-MD,kernel/.irq.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -g -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=irq -DKBUILD_MODNAME=irq -c -o kernel/irq.o kernel/irq.c

kernel/irq.c: In function `no_irq_ack':
kernel/irq.c:84: warning: implicit declaration of function `ack_APIC_irq'

CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y

Index: linux-2.5.64-unwashed/include/asm/hw_irq.h
===================================================================
RCS file: /build/cvsroot/linux-2.5.64/include/asm-i386/hw_irq.h,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 hw_irq.h
--- linux-2.5.64-unwashed/include/asm/hw_irq.h 14 Mar 2003 05:56:40 -0000 1.1.1.2
+++ linux-2.5.64-unwashed/include/asm/hw_irq.h 14 Mar 2003 06:07:48 -0000
@@ -16,6 +16,7 @@
 #include <linux/profile.h>
 #include <asm/atomic.h>
 #include <asm/irq.h>
+#include <asm/apic.h>
 
 /*
  * Various low-level irq details needed by irq.c, process.c,
-
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/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:38 EST