summaryrefslogtreecommitdiffstats
path: root/drivers/net/ps3_gelic_net.h
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2008-05-22 09:00:03 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-05-31 04:18:37 +0200
commit2914f3efa7ef80f12ff798cb1aa46af57838f912 (patch)
tree8946187b774d46ced9256c710cc20a26dd9704ee /drivers/net/ps3_gelic_net.h
parentps3: gelic: assoc_stat_lock semaphore to mutex (diff)
downloadlinux-2914f3efa7ef80f12ff798cb1aa46af57838f912.tar.xz
linux-2914f3efa7ef80f12ff798cb1aa46af57838f912.zip
ps3: gelic: updown_lock semaphore to mutex
Signed-off-by: Daniel Walker <dwalker@mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ps3_gelic_net.h')
-rw-r--r--drivers/net/ps3_gelic_net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ps3_gelic_net.h b/drivers/net/ps3_gelic_net.h
index 520f143c2c09..8b413868bbe2 100644
--- a/drivers/net/ps3_gelic_net.h
+++ b/drivers/net/ps3_gelic_net.h
@@ -298,7 +298,7 @@ struct gelic_card {
wait_queue_head_t waitq;
/* only first user should up the card */
- struct semaphore updown_lock;
+ struct mutex updown_lock;
atomic_t users;
u64 ether_port_status;