uml: port mutex conversion
authorDaniel Walker <dwalker@mvista.com>
Tue, 5 Feb 2008 06:31:27 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:32 +0000 (09:44 -0800)
commit2aa9c5db8e1eadf12a6c938dbd3e39ba6b923b8c
tree9a65466f426843e016455ff57528eb40f3ba7b32
parente98fa28160eabdcda4c4c5bf7af7a3256c10c922
uml: port mutex conversion

The port_sem is already used as a mutex since it's using DECLARE_MUTEX(), but
the underlying construct is still a semaphore ..  This patch switches it over
to a struct mutex.

Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/port_kern.c