Переглянути джерело

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_schedule(sh7786_pcie_hwops->port_init_hw, port);
 	}
 	}
 
 
+	async_synchronize_full();
+
 	return 0;
 	return 0;
 }
 }
 arch_initcall(sh7786_pcie_init);
 arch_initcall(sh7786_pcie_init);