Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pci_64: Init pcibios subsys a bit later

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 <aik@ozlabs.ru>
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/12303156.16998521.1678123842049.JavaMail.zimbra@raptorengineeringinc.com

authored by

Alexey Kardashevskiy and committed by
Michael Ellerman
76f35109 9d67c943

+1 -1
+1 -1
arch/powerpc/kernel/pci_64.c
··· 73 73 return 0; 74 74 } 75 75 76 - subsys_initcall(pcibios_init); 76 + subsys_initcall_sync(pcibios_init); 77 77 78 78 int pcibios_unmap_io_space(struct pci_bus *bus) 79 79 {