Hello there,

Environment is embedded Linux 2.4.18.

Context is driver mapped on one interrupt coming from 40 possible 
sources - everything being multiplexed by a FPGA.

When the interrupt triggers the driver reads three FPGA registers to
discover the interrupt source. For each source it spawns a tasklet which
deals with the data transfer. The driver_interrupt_routine disables the
interrupt by masking it. The last living tasklet should re-enable (un_mask) the
interrupt.

Problem: In the tasklet context how to find out if this tasklet is the last 
living one?

Thanks for your kind suggestions.

StephanT.

Reply via email to