Re: [RFC] PCI device list locking

Andrew Morton (akpm@digeo.com)
Tue, 17 Jun 2003 15:51:43 -0700


Greg KH <greg@kroah.com> wrote:
>
> + spin_lock(&pci_bus_lock);
>

I have a vague feeling that some code somewhere may be calling these
functions from interrupt context.

I may have misremembered, but perhaps a sprinkling of
WARN_ON(irqs_disabled()) would be prudent for now.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/