RE: request_irq() and setup_irq()

From: Tian, Kevin <>
Date: 2004-10-22 11:22:48
>-----Original Message-----
>On Behalf Of Christian Hildner
>Sent: Thursday, October 21, 2004 11:12 PM
>looking through the sources of 2.4.21 there come up one question. If a
>device wants to register its interrupt it may call request_irq() that
>then calls setup_irq(). Now since SA_PERCPU_IRQ is not set by the
>setup_irq() does not initialize desc->handler. Can that be fixed by
>adding SA_PERCPU_IRQ to irqflags in request_irq() or does that
>problems at another place?

ACPI can provide MADT table for lsapic and iosapic info in local system.
>From that table, linux will configure interrupt controller info for each
interrupt line when bootup. You can look at iosapic_init(), which
constructs per-line info related to iosapic. Say, by trigger mode of
specific line, register_intr() will decide whether irq_type_iosapic_edge
or irq_type_iosapic_level should be used. 

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Oct 21 22:07:05 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:31 EST