[PATCH] uml: SIGIO locking comment
authorJeff Dike <[email protected]>
Sat, 10 Feb 2007 09:44:23 +0000 (01:44 -0800)
committerLinus Torvalds <[email protected]>
Sun, 11 Feb 2007 18:51:23 +0000 (10:51 -0800)
Comment the use of a mysterious-looking lock.

Signed-off-by: Jeff Dike <[email protected]>
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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)