[PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Apr 7 02:14:18 PDT 2014


On Mon, 2014-04-07 at 09:46 +0100, Liviu Dudau wrote:
> 
> *My* strategy is to get rid of pci_domain_nr(). I don't see why we need
> to have arch specific way of providing the number, specially after looking
> at the existing implementations that return a value from a variable that
> is never touched or incremented. My guess is that pci_domain_nr() was
> created to work around the fact that there was no domain_nr maintainance in
> the generic code.

Well, there was no generic host bridge structure. There is one now, it should
go there.

Cheers,
Ben.
 




More information about the linux-arm-kernel mailing list