pnpbios: convert to use the kthread API
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 8 May 2007 07:30:17 +0000 (00:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:11 +0000 (11:15 -0700)
commitdb9c02fa8bd50eb104781a9f78cae923d8da1e74
tree33d1433549bcc6a38de624dfa5220a7523e60c16
parent1bd0cf1fc78e59e1d2b4e44348a85d39b983c80d
pnpbios: convert to use the kthread API

This patches modifies the pnpbios kernel thread to start with ktrhead_run
not kernel_thread and deamonize.  Doing this makes the code a little
simpler and easier to maintain.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/pnpbios/core.c