Re: [PATCH 2/3 v2] Do not use acpi_device to find pci root bridge in _init code.

2012-10-14 Thread Taku Izumi
On Fri, 12 Oct 2012 20:34:20 +0800 Tang Chen wrote: > When the kernel is being initialized, and some hardwares are not added > to system, there won't be acpi_device structs for these devices. But > acpi_is_root_bridge() depends on acpi_device struct. As a result, all > the not-added root bridge w

Re: [PATCH 2/3 v2] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Yinghai Lu
On Fri, Oct 12, 2012 at 5:34 AM, Tang Chen wrote: > When the kernel is being initialized, and some hardwares are not added > to system, there won't be acpi_device structs for these devices. But > acpi_is_root_bridge() depends on acpi_device struct. As a result, all > the not-added root bridge will

[PATCH 2/3 v2] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Tang Chen
When the kernel is being initialized, and some hardwares are not added to system, there won't be acpi_device structs for these devices. But acpi_is_root_bridge() depends on acpi_device struct. As a result, all the not-added root bridge will not be judged as a root bridge in find_root_bridges(). And