lkml.org 
[lkml]   [2004]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: pci_bus_lock question
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:8.037 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site