aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/mmc_queue.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-11-13 14:23:52 -0500
committerPierre Ossman <drzeus@drzeus.cx>2006-12-01 11:56:46 -0500
commit87598a2bd4c4ed19b91ef163f76297f305007304 (patch)
tree3eb7f473a8bcb0baad976942c09686bb9e509fed /drivers/mmc/mmc_queue.h
parent0215ffb08ce99e2bb59eca114a99499a4d06e704 (diff)
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 7182d2f69b4e..c9f139e764f6 100644
--- a/drivers/mmc/mmc_queue.h
+++ b/drivers/mmc/mmc_queue.h
@@ -6,8 +6,7 @@ struct task_struct;
6 6
7struct mmc_queue { 7struct mmc_queue {
8 struct mmc_card *card; 8 struct mmc_card *card;
9 struct completion thread_complete; 9 struct task_struct *thread;
10 wait_queue_head_t thread_wq;
11 struct semaphore thread_sem; 10 struct semaphore thread_sem;
12 unsigned int flags; 11 unsigned int flags;
13 struct request *req; 12 struct request *req;