summaryrefslogtreecommitdiff
path: root/drivers/net/ps3_gelic_net.h
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2008-05-22 00:00:03 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-05-30 22:18:37 -0400
commit2914f3efa7ef80f12ff798cb1aa46af57838f912 (patch)
tree8946187b774d46ced9256c710cc20a26dd9704ee /drivers/net/ps3_gelic_net.h
parent5a2d9af2769c0b4c6ab6d88d31fa3b9a4a432b09 (diff)
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;