diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-01-28 01:14:08 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-28 01:14:08 -0500 |
commit | cd7bb53ff88a5acef942a87c1d04e6211b6470dc (patch) | |
tree | d18e3e168caa19607dbddb3076a26229a6c543e3 /arch/sh/drivers/pci | |
parent | e8cdfb0509f48d44d95d68d4f42d8d71a9ba4acd (diff) |
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>
Diffstat (limited to 'arch/sh/drivers/pci')
-rw-r--r-- | arch/sh/drivers/pci/pcie-sh7786.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pcie-sh7786.c b/arch/sh/drivers/pci/pcie-sh7786.c index ada2e6926f00..4418f9070ed1 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) | |||
571 | async_schedule(sh7786_pcie_hwops->port_init_hw, port); | 571 | async_schedule(sh7786_pcie_hwops->port_init_hw, port); |
572 | } | 572 | } |
573 | 573 | ||
574 | async_synchronize_full(); | ||
575 | |||
574 | return 0; | 576 | return 0; |
575 | } | 577 | } |
576 | arch_initcall(sh7786_pcie_init); | 578 | arch_initcall(sh7786_pcie_init); |