From: Jeff Dike Date: Sat, 10 Feb 2007 09:44:23 +0000 (-0800) Subject: [PATCH] uml: SIGIO locking comment X-Git-Tag: v2.6.21-rc1~274^2~392 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d9f9d31983aac7764d178583d0777199d081cb1a;p=linux-2.6-omap-h63xx.git [PATCH] uml: SIGIO locking comment Comment the use of a mysterious-looking lock. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/kernel/sigio.c b/arch/um/kernel/sigio.c index 2b0ab438301..1c831f9ee09 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)