diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 10:44:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:23 +0100 |
commit | d9f9d31983aac7764d178583d0777199d081cb1a (patch) | |
tree | b6daa94740a71f498287c7fd436980962ec66418 /arch/um/kernel/sigio.c | |
parent | [PATCH] uml: IRQ handler tidying (diff) | |
download | linux-d9f9d31983aac7764d178583d0777199d081cb1a.tar.xz linux-d9f9d31983aac7764d178583d0777199d081cb1a.zip |
[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.c | 1 |
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) return(0); } +/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */ static DEFINE_SPINLOCK(sigio_spinlock); void sigio_lock(void) |