]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] kthread: convert loop.c to kthread
authorSerge E. Hallyn <serue@us.ibm.com>
Fri, 29 Sep 2006 08:59:11 +0000 (01:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:06 +0000 (09:18 -0700)
commit6c9979185c7ef4feeb7f8d29be032b8f032a1838
treedd6d45dc21adf280164ba840ae0c954dd0c94233
parent5b217fa75c3aea381f1f5fa7ff09e7b4019ea374
[PATCH] kthread: convert loop.c to kthread

Convert loop.c from the deprecated kernel_thread to kthread.  This patch
simplifies the code quite a bit and passes similar testing to the previous
submission on both emulated x86 and s390.

Changes since last submission:
switched to using a rather simple loop based on
wait_event_interruptible.

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/loop.c
include/linux/loop.h