[PATCH] drivers/isdn/hysdn/hysdn_sched.c: sleep after taking spinlock fix
authorAmol Lad <amol@verismonetworks.com>
Fri, 3 Nov 2006 06:07:25 +0000 (22:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Nov 2006 20:27:59 +0000 (12:27 -0800)
commit1f604c4bc078213aa1c4576efa0e8dad98522fa7
treeace4a7db5da33a894009877e2b327bf56624efaa
parent43530d2b04b63ac4bb4ac25deee5f1180ccedc2e
[PATCH] drivers/isdn/hysdn/hysdn_sched.c: sleep after taking spinlock fix

spin_lock_irq{save,restore} is incorrectly called here (the function can
sleep after acquring the lock).

done the necessary corrections and removed unwanted cli/sti.

Signed-off-by: Amol Lad <amol@verismonetworks.com>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/hysdn/hysdn_sched.c