[PATCH] Revert ide softirq handling
[deliverable/linux.git] / drivers / ide / ide-probe.c
index 02167a5b751dbe40a0b1be304766903fceb43c52..e7425546b4b1786feb0333f71b0aa43b570d1e43 100644 (file)
@@ -655,7 +655,7 @@ static void hwif_release_dev (struct device *dev)
 {
        ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev);
 
-       up(&hwif->gendev_rel_sem);
+       complete(&hwif->gendev_rel_comp);
 }
 
 static void hwif_register (ide_hwif_t *hwif)
@@ -1325,7 +1325,7 @@ static void drive_release_dev (struct device *dev)
        drive->queue = NULL;
        spin_unlock_irq(&ide_lock);
 
-       up(&drive->gendev_rel_sem);
+       complete(&drive->gendev_rel_comp);
 }
 
 /*
This page took 0.025846 seconds and 5 git commands to generate.