瀏覽代碼

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>
Paul Mundt 14 年之前
父節點
當前提交
cd7bb53ff8
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/sh/drivers/pci/pcie-sh7786.c

+ 2 - 0
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);