netdev: ehea: semaphore to mutex
authorDaniel Walker <dwalker@mvista.com>
Fri, 28 Mar 2008 21:41:26 +0000 (14:41 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 29 Mar 2008 02:14:25 +0000 (22:14 -0400)
commit06f89edf89f254346c95d0c569cecd606459d83e
tree41635a52de50efc56145b37527dce6463814da52
parentb7aa69097acb86c118edaa5e339b714617062dfe
netdev: ehea: semaphore to mutex

Converted the dlpar_mem_lock.  With a bit of cleanup, I converted to
DEFINE_MUTEX() instead of a runtime init.  I also made the lock static.

Signed-off-by: Daniel Walker <dwalker@mvista.com>
Cc: Christoph Raisch <raisch@de.ibm.com>
Acked-by: Jan-Bernd Themann <themann@de.ibm.com>
Cc: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ehea/ehea_main.c