Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44196
b: refs/heads/master
c: 7b30d28
h: refs/heads/master
v: v3
  • Loading branch information
Vitaly Wool authored and Pierre Ossman committed Dec 11, 2006
1 parent 30c9e96 commit 2b8a085
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3a8efa90b1aab16ead76ad7e22d9c5fc2045400
refs/heads/master: 7b30d281b9c115890c75d11eaf06881261c256da
4 changes: 3 additions & 1 deletion trunk/drivers/mmc/mmc_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ static int mmc_queue_thread(void *d)
spin_unlock_irq(q->queue_lock);

if (!req) {
if (kthread_should_stop())
if (kthread_should_stop()) {
set_current_state(TASK_RUNNING);
break;
}
up(&mq->thread_sem);
schedule();
down(&mq->thread_sem);
Expand Down

0 comments on commit 2b8a085

Please sign in to comment.