[SPARC]: Use kthread infrastructure in envctrl
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Aug 2005 19:30:07 +0000 (12:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Aug 2005 19:30:07 +0000 (12:30 -0700)
commit218b29e0c3995ee15782de55ad1dd74cce1a728d
treee734f30f6123ae2b4e3ba545e9017d6d0498b3e7
parent00dd1e433967872f3997a45d5adf35056fdf2f56
[SPARC]: Use kthread infrastructure in envctrl

envctrl currently uses very odd ways to stop a thread, using various
things that should be exposed to drivers at all.

This patch (which is untested as I don't have sparc hardware) switches
it to use the proper kthread infrastructure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/envctrl.c