pci_get_dev_by_id() from interrupt handlers

From: Joerg Roedel
Date: Tue Apr 20 2010 - 12:05:17 EST


Hi Jesse,

I have a question regarding the warning in the pci_get_dev_by_id()
[search.c] function which triggers when called from interrupt context.
As far as I have seen this function should be save to be called in
atomic mode. Is there any other reason it should not be called in
interrupt handlers? I need to (indirectly) call this function for my
IOMMU driver to handle events from the IOMMU.

Thanks,
Joerg

--
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/