diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-07-07 17:56:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 18:23:44 -0700 |
commit | 605a69ac81249cca531cdc6b3e695f15dda63102 (patch) | |
tree | f42d781478ddf14288d3952263363efde1bc45a2 /arch/xtensa | |
parent | 3f580470baa3afc423e38fdc6e19667446b5aac0 (diff) | |
download | op-kernel-dev-605a69ac81249cca531cdc6b3e695f15dda63102.zip op-kernel-dev-605a69ac81249cca531cdc6b3e695f15dda63102.tar.gz |
[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 <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions