aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/sigio.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 04:44:23 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 13:51:23 -0500
commitd9f9d31983aac7764d178583d0777199d081cb1a (patch)
treeb6daa94740a71f498287c7fd436980962ec66418 /arch/um/kernel/sigio.c
parentf2e62992a232544d612b7b95e932fbf3592944e1 (diff)
[PATCH] uml: SIGIO locking comment
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>
Diffstat (limited to 'arch/um/kernel/sigio.c')
-rw-r--r--arch/um/kernel/sigio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/kernel/sigio.c b/arch/um/kernel/sigio.c
index 2b0ab438301c..1c831f9ee09f 100644
--- a/arch/um/kernel/sigio.c
+++ b/arch/um/kernel/sigio.c
@@ -42,6 +42,7 @@ int write_sigio_irq(int fd)
42 return(0); 42 return(0);
43} 43}
44 44
45/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
45static DEFINE_SPINLOCK(sigio_spinlock); 46static DEFINE_SPINLOCK(sigio_spinlock);
46 47
47void sigio_lock(void) 48void sigio_lock(void)