Most recent kernel where this bug did *NOT* occur: 2.6.20-rc1 Distribution: Debian SID Hardware Environment: x86 P4M single processor Software Environment: i386 Problem Description: io_apic does not compile, because irq_desc[].affinity is not available, because it is ifndef'd if you are going to compile with an non smp machine. Steps to reproduce: Compile with apic and io_apic support on a non smp machine Steps to fix: Change include/linux/irq.h in struct irq_desc from #ifdef CONFIG_SMP cpumask_t affinity; unsigned int cpu; #endif to cpumask_t affinity; #ifdef CONFIG_SMP unsigned int cpu; #endif