Disabling an interrupt in interrupt context
From: Mike Mason
Date: Mon Feb 23 2009 - 19:11:54 EST
I have a need to disable an LSI interrupt from within the context of the handler for that interrupt. It appears that disable_irq_nosync() will do the trick. Besides dropping interrupts, which I don't care about because the device is in an error state, what are the potential side effects of doing this? As far as I can tell, this will not prevent the current in-flight handlers for that interrupt from finishing.
Thanks,
Mike Mason
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/