set_intr_gate(THRESHOLD_APIC_VECTOR, threshold_interrupt); 
void __init init_IRQ(void){	int i;	init_ISA_irqs();	/*	 * Cover the whole vector space, no vector can escape	 * us. (some of these will be overridden and become	 * 'special' SMP interrupts)	 */	for (i = 0; i < (NR_VECTORS - FIRST_EXTERNAL_VECTOR); i++) {		int vector = FIRST_EXTERNAL_VECTOR + i;		if (i >= NR_IRQS)			break;		if (vector != IA32_SYSCALL_VECTOR && vector != KDB_VECTOR) { 			set_intr_gate(vector, interrupt[i]);	}	}#ifdef CONFIG_SMP	/*	 * IRQ0 must be given a fixed assignment and initialized,	 * because it's used before the IO-APIC is set up.	 */	set_intr_gate(FIRST_DEVICE_VECTOR, interrupt[0]);	/*	 * The reschedule interrupt is a CPU-to-CPU reschedule-helper	 * IPI, driven by wakeup.	 */	set_intr_gate(RESCHEDULE_VECTOR, reschedule_interrupt);	/* IPIs for invalidation */	set_intr_gate(INVALIDATE_TLB_VECTOR_START+0, invalidate_interrupt0);	set_intr_gate(INVALIDATE_TLB_VECTOR_START+1, invalidate_interrupt1);	set_intr_gate(INVALIDATE_TLB_VECTOR_START+2, invalidate_interrupt2);	set_intr_gate(INVALIDATE_TLB_VECTOR_START+3, invalidate_interrupt3);	set_intr_gate(INVALIDATE_TLB_VECTOR_START+4, invalidate_interrupt4);	set_intr_gate(INVALIDATE_TLB_VECTOR_START+5, invalidate_interrupt5);	set_intr_gate(INVALIDATE_TLB_VECTOR_START+6, invalidate_interrupt6);	set_intr_gate(INVALIDATE_TLB_VECTOR_START+7, invalidate_interrupt7);	/* IPI for generic function call */	set_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt);#endif		set_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);#ifdef CONFIG_X86_LOCAL_APIC	/* self generated IPI for local APIC timer */	set_intr_gate(LOCAL_TIMER_VECTOR, apic_timer_interrupt);	/* IPI vectors for APIC spurious and error interrupts */	set_intr_gate(SPURIOUS_APIC_VECTOR, spurious_interrupt);	set_intr_gate(ERROR_APIC_VECTOR, error_interrupt);#endif	/*	 * Set the clock to HZ Hz, we already have a valid	 * vector now:	 */	setup_timer_hardware();	if (!acpi_ioapic)		setup_irq(2, &irq2);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/89b831ef8bf5cfbb357dbc0a2e07700d7f20eec5/i8259.c/buggy/arch/x86_64/kernel/i8259.c