Re: pci_bus_lock question

From: John Rose
Date: Thu Jul 22 2004 - 10:14:24 EST


I need to remove a bus from the pci_root_buses() list, and I need to do
so from a module. Would it be preferable to export the pci_bus_lock
symbol or create wrappers in the PCI core that safely add/remove buses
to/from this list?

I'm guessing the latter :)

Thanks-
John

On Thu, 2004-07-22 at 02:08, Greg KH wrote:
> On Wed, Jul 21, 2004 at 05:21:08PM -0500, John Rose wrote:
> > But then, most of these violations are in __init functions. I think I
> > just answered my own question :)
>
> Yes, we don't protect the lists in those __init functions, as it isn't
> needed at that point in time.
>
> thanks,
>
> greg k-h
>

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