sh: Fix up async PCIe probing on SMP.
For the SMP case we run in to a lockup without a full synchronization
prior to continuing with the boot.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/drivers/pci/pcie-sh7786.c b/arch/sh/drivers/pci/pcie-sh7786.c
index ada2e69..4418f90 100644
--- a/arch/sh/drivers/pci/pcie-sh7786.c
+++ b/arch/sh/drivers/pci/pcie-sh7786.c
@@ -571,6 +571,8 @@
async_schedule(sh7786_pcie_hwops->port_init_hw, port);
}
+ async_synchronize_full();
+
return 0;
}
arch_initcall(sh7786_pcie_init);