diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 04:02:08 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 04:02:08 +0000 |
commit | fd095d09f2d475dc2e8599b1b8bae1cd65e91685 (patch) | |
tree | 217f87a997699505e0dd752931409b9f10fffe65 /kernel | |
parent | c02e0599c4233f97071928f8118841954bacdadf (diff) |
Merge with 2.1.56 as first part of merging back my code.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 922449fc6..c99dc8b45 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -132,8 +132,9 @@ void release(struct task_struct * p) if (p != current) { #ifdef __SMP__ /* FIXME! Cheesy, but kills the window... -DaveM */ - while (p->has_cpu) + do { barrier(); + } while (p->has_cpu); spin_unlock_wait(&scheduler_lock); #endif charge_uid(p, -1); |