sh: Fix up async PCIe probing on SMP.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 28 Jan 2011 06:14:08 +0000 (15:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 28 Jan 2011 06:14:08 +0000 (15:14 +0900)
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>
arch/sh/drivers/pci/pcie-sh7786.c

index ada2e6926f0099dfe55a7acf1980cc9b1b0b95ef..4418f9070ed171e9d679d1e6868cbbf10396d4e9 100644 (file)
@@ -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);