]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] uml: SIGIO locking comment
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:23 +0000 (01:44 -0800)
committerLinus 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

index 2b0ab438301c8bae8f8f4c3a6fe951b71f72e1dd..1c831f9ee09f119c21fd01df7e7cfdbc568cb249 100644 (file)
@@ -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)