Skip to content

Commit

Permalink
[PATCH] uml: SIGIO locking comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 11, 2007
1 parent f2e6299 commit d9f9d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/um/kernel/sigio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d9f9d31

Please sign in to comment.