From: Paolo 'Blaisorblade' Giarrusso Date: Fri, 8 Jul 2005 00:56:52 +0000 (-0700) Subject: [PATCH] uml: remove winch sem X-Git-Tag: v2.6.13-rc3~254 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=605a69ac81249cca531cdc6b3e695f15dda63102;p=pandora-kernel.git [PATCH] uml: remove winch sem Replace a semaphore (winch_handler_sem) used in atomic code with a spinlock, and reduces as needed the amount of protected code to the bare minimum (for instance no kmalloc calls are needed). This fixes the last problems with spinlocking (in UP mode with DEBUG options); the semaphore, taken inside spinlocks, caused a "spin_lock was already locked" warning, without this patch. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed