Skip to content

Commit

Permalink
powerpc/pci_64: Init pcibios subsys a bit later
Browse files Browse the repository at this point in the history
Subsequent patches are going to add dependency/use of iommu_ops which is
initialized in subsys_initcall as well.

This moves pciobios_init() to the next initcall level.

This should not cause behavioral change.

Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Timothy Pearson <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/12303156.16998521.1678123842049.JavaMail.zimbra@raptorengineeringinc.com
  • Loading branch information
aik authored and mpe committed Mar 14, 2023
1 parent 9d67c94 commit 76f3510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/pci_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static int __init pcibios_init(void)
return 0;
}

subsys_initcall(pcibios_init);
subsys_initcall_sync(pcibios_init);

int pcibios_unmap_io_space(struct pci_bus *bus)
{
Expand Down

0 comments on commit 76f3510

Please sign in to comment.