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

Zwane Mwaikambo (zwane@holomorphy.com)
Fri, 14 Mar 2003 03:05:31 -0500 (EST)


This one is for UP w/ IOAPIC

arch/i386/kernel/built-in.o: In function `end_level_ioapic_irq':
/build/source/linux-2.5.64-unwashed/include/asm/atomic.h:107: undefined reference to `irq_mis_count'
nm: vmlinux: No such file or directory
make -f scripts/Makefile.build obj=arch/i386/boot arch/i386/boot/bzImage
ccache gcc -Wp,-MD,arch/i386/boot/.setup.o.d -D__ASSEMBLY__ -D__KERNEL__
-Iinclude -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-traditional -DSVGA_MODE=NORMAL_VGA -D__BIG_KERNEL__ -c -o
arch/i386/boot/setup.o arch/i386/boot/setup.S

Index: linux-2.5.64-unwashed/arch/i386/kernel/irq.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.64/arch/i386/kernel/irq.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 irq.c
--- linux-2.5.64-unwashed/arch/i386/kernel/irq.c 14 Mar 2003 05:56:30 -0000 1.1.1.2
+++ linux-2.5.64-unwashed/arch/i386/kernel/irq.c 14 Mar 2003 08:02:24 -0000
@@ -10,6 +10,7 @@
#include <linux/seq_file.h>

#include <asm/atomic.h>
+#include <asm/io_apic.h> /* for APIC_MISMATCH_DEBUG */

/*
* Various interrupt controllers we handle: 8259 PIC, SMP IO-APIC,
-
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/