projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2e6299
)
[PATCH] uml: SIGIO locking comment
author
Jeff Dike
<jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:23 +0000
(
01:44
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:23 +0000
(10:51 -0800)
Comment the use of a mysterious-looking lock.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/sigio.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/sigio.c
b/arch/um/kernel/sigio.c
index 2b0ab438301c8bae8f8f4c3a6fe951b71f72e1dd..1c831f9ee09f119c21fd01df7e7cfdbc568cb249 100644
(file)
--- a/
arch/um/kernel/sigio.c
+++ b/
arch/um/kernel/sigio.c
@@
-42,6
+42,7
@@
int write_sigio_irq(int fd)
return(0);
}
+/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
static DEFINE_SPINLOCK(sigio_spinlock);
void sigio_lock(void)