Re: [PATCH] irq: Export symbol no_action()

From: Alexander Shiyan
Date: Tue Mar 04 2014 - 06:24:49 EST


ÐÑÐÑÐÐÐ, 4 ÐÐÑÑÐ 2014, 12:05 +01:00 ÐÑ Thomas Gleixner <tglx@xxxxxxxxxxxxx>:
> On Sat, 1 Mar 2014, Alexander Shiyan wrote:
>
> > This will allow to use dummy IRQ handler no_action() from
> > drivers compiled as module. For example, dummy handler is could
> > be used for drivers that use ARM FIQ interrupts.
>
> And why exactly requires a driver which uses ARM FIQ interrupts the
> no_action implementation?

FIQ Interrupt handler is not used in this function. In FIQ case this is just a
dummy declaration. Real handler is assigned by using the set_fiq_handler().

> > @@ -41,6 +41,7 @@ irqreturn_t no_action(int cpl, void *dev_id)
> > {
> > return IRQ_NONE;
> > }
> > +EXPORT_SYMBOL(no_action);
>
> EXPORT_SYMBOL_GPL if at all.

v2?

---