The kernel's interrupt handling code is almost all microprocessor (and often platform) specific. The Intel interrupt handling code is in /arch/i386/kernel/irq.c and its definitions in /include/asm-i386/irq.h.