Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2002-02-26 01:03:19 +0100
committerIngo Molnar <mingo@elte.hu>2002-02-26 01:03:19 +0100
commit6d235bf56455dd687f35221a6fdfe6f27050c72d (patch)
treeefa52ec841797d3648d5f447983f45432b16f5d0
parent33110a8347614e8e8d50172a39dc8809981744f5 (diff)
migration threads should sleep interruptible.
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index d9484a7c7e90..5e0aa777fb74 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1609,7 +1609,7 @@ static int migration_thread(void * unused)
spin_lock_irqsave(&rq->lock, flags);
head = &rq->migration_queue;
- current->state = TASK_UNINTERRUPTIBLE;
+ current->state = TASK_INTERRUPTIBLE;
if (list_empty(head)) {
spin_unlock_irqrestore(&rq->lock, flags);
schedule();