diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 04:44:23 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:23 -0500 |
commit | d9f9d31983aac7764d178583d0777199d081cb1a (patch) | |
tree | b6daa94740a71f498287c7fd436980962ec66418 /arch/um/kernel | |
parent | f2e62992a232544d612b7b95e932fbf3592944e1 (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')
-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) | |||
42 | return(0); | 42 | return(0); |
43 | } | 43 | } |
44 | 44 | ||
45 | /* These are called from os-Linux/sigio.c to protect its pollfds arrays. */ | ||
45 | static DEFINE_SPINLOCK(sigio_spinlock); | 46 | static DEFINE_SPINLOCK(sigio_spinlock); |
46 | 47 | ||
47 | void sigio_lock(void) | 48 | void sigio_lock(void) |