MX51: add FIQ support for TZIC
Peter Horton
phorton at bitbox.co.uk
Fri Nov 26 05:09:52 EST 2010
On 25/11/2010 20:38, Uwe Kleine-König wrote:
>> +
>> + return 0;
>> +}
>> +
>> +EXPORT_SYMBOL(mxc_set_irq_fiq);
> Hmm, I guess this makes it impossible to compile avic.c and tzic.c with
> FIQ=y into a single binary.
>
What about adding a local IRQ_TYPE_FAST and implementing
irq_chip.set_type(), for both the AVIC and the TZIC, to do the switch
between IRQ and FIQ mode ?
mxc_set_irq_fiq() would then just become a wrapper round irq_set_type().
P.
More information about the linux-arm-kernel
mailing list