]> err.no Git - linux-2.6/commit
[PATCH] mwave: interesting flags savings
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 20 Feb 2007 21:57:57 +0000 (13:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:14 +0000 (17:10 -0800)
commitae6b95d4d86565a4f267359852f7fbe000b6e0e7
tree4cc89deec81a209924a9089673ebc9d748474327
parent91e4ee381d23ef67196a03924485aeceb32d6753
[PATCH] mwave: interesting flags savings

Flags from spin_lock_irqsave() are saved into global variable and restored
from it.  My gut feeling this is very racy.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mwave/3780i.c