]> err.no Git - linux-2.6/commit
[PATCH] uml: watchdog driver locking
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:43:57 +0000 (01:43 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:21 +0000 (10:51 -0800)
commit42d36115d25725fb551250c8f70602a12aa8dee2
tree8adf4535d3f79c4a590100407f229e21c05a2080
parent4ea21cd9173a0ffa75dc74cc46d08dfc45654f29
[PATCH] uml: watchdog driver locking

Replace BKL use with a spinlock.

Also fix the control so that open doesn't return holding a 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/drivers/harddog_kern.c