Commit 2bcf8417 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: fix pci probe on large bus systems

parent 640a26c5
......@@ -250,7 +250,7 @@ pci_alloc_pci_controller(enum phb_types controller_type)
else
memcpy(hose->what,model,7);
hose->type = controller_type;
hose->global_number = global_phb_number;
hose->global_number = global_phb_number++;
*hose_tail = hose;
hose_tail = &hose->next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment