summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/mmc_queue.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-11-13 20:23:52 +0100
committerPierre Ossman <drzeus@drzeus.cx>2006-12-01 17:56:46 +0100
commit87598a2bd4c4ed19b91ef163f76297f305007304 (patch)
tree3eb7f473a8bcb0baad976942c09686bb9e509fed /drivers/mmc/mmc_queue.h
parent0215ffb08ce99e2bb59eca114a99499a4d06e704 (diff)
downloadop-kernel-dev-87598a2bd4c4ed19b91ef163f76297f305007304.zip
op-kernel-dev-87598a2bd4c4ed19b91ef163f76297f305007304.tar.gz
mmc: remove kernel_thread()
Replace kernel_thread() with kthread_run()/kthread_stop(). Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/mmc_queue.h')
-rw-r--r--drivers/mmc/mmc_queue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/mmc_queue.h b/drivers/mmc/mmc_queue.h
index 7182d2f..c9f139e 100644
--- a/drivers/mmc/mmc_queue.h
+++ b/drivers/mmc/mmc_queue.h
@@ -6,8 +6,7 @@ struct task_struct;
struct mmc_queue {
struct mmc_card *card;
- struct completion thread_complete;
- wait_queue_head_t thread_wq;
+ struct task_struct *thread;
struct semaphore thread_sem;
unsigned int flags;
struct request *req;
OpenPOWER on IntegriCloud