Commit d9f9d319 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: SIGIO locking comment

Comment the use of a mysterious-looking lock.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f2e62992
...@@ -42,6 +42,7 @@ int write_sigio_irq(int fd) ...@@ -42,6 +42,7 @@ int write_sigio_irq(int fd)
return(0); return(0);
} }
/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
static DEFINE_SPINLOCK(sigio_spinlock); static DEFINE_SPINLOCK(sigio_spinlock);
void sigio_lock(void) void sigio_lock(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment