From cd7bb53ff88a5acef942a87c1d04e6211b6470dc Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 28 Jan 2011 15:14:08 +0900 Subject: 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 --- arch/sh/drivers/pci/pcie-sh7786.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/sh/drivers/pci') 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 @@ static int __init sh7786_pcie_init(void) async_schedule(sh7786_pcie_hwops->port_init_hw, port); } + async_synchronize_full(); + return 0; } arch_initcall(sh7786_pcie_init); -- cgit v1.1