diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-01-13 10:02:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 17:35:10 -0500 |
commit | 6aa4cdd07139ba4d5b89139b0070d795cc4dea88 (patch) | |
tree | 3bfe5e8ef916f0e27c0ea8ef0d073fcd01cfff29 /drivers/pci/hotplug/shpchp_hpc.c | |
parent | c408a3794d6222ab43ab26648385f850a82f0803 (diff) |
[PATCH] PCI hotplug: convert semaphores to mutex
semaphore to mutex conversion.
the conversion was generated via scripts, and the result was validated
automatically via a script as well.
build tested with allyesconfig.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_hpc.c')
-rw-r--r-- | drivers/pci/hotplug/shpchp_hpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp_hpc.c b/drivers/pci/hotplug/shpchp_hpc.c index b4226ff3a854..ae81427e42b1 100644 --- a/drivers/pci/hotplug/shpchp_hpc.c +++ b/drivers/pci/hotplug/shpchp_hpc.c | |||
@@ -1454,7 +1454,7 @@ int shpc_init(struct controller * ctrl, struct pci_dev * pdev) | |||
1454 | } | 1454 | } |
1455 | dbg("%s: php_ctlr->creg %p\n", __FUNCTION__, php_ctlr->creg); | 1455 | dbg("%s: php_ctlr->creg %p\n", __FUNCTION__, php_ctlr->creg); |
1456 | 1456 | ||
1457 | init_MUTEX(&ctrl->crit_sect); | 1457 | mutex_init(&ctrl->crit_sect); |
1458 | /* Setup wait queue */ | 1458 | /* Setup wait queue */ |
1459 | init_waitqueue_head(&ctrl->queue); | 1459 | init_waitqueue_head(&ctrl->queue); |
1460 | 1460 | ||