diff options
author | Gleb O. Raiko <raiko@niisi.msk.ru> | 2000-03-13 10:44:19 +0000 |
---|---|---|
committer | Gleb O. Raiko <raiko@niisi.msk.ru> | 2000-03-13 10:44:19 +0000 |
commit | 86d29e393d088309c412e88b3a2670571d0ec4cb (patch) | |
tree | 1b2a03cc4b99e0d83e08559f1e9546757b582f07 /arch/mips/kernel/process.c | |
parent | 9332bf5462630e1f20ba65152ed64231bcc52e9c (diff) |
Add R3081 support
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 959e7b339..2353515b9 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -1,4 +1,4 @@ -/* $Id: process.c,v 1.17 1999/12/04 03:59:00 ralf Exp $ +/* $Id: process.c,v 1.18 2000/01/29 01:41:59 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -40,10 +40,8 @@ void cpu_idle(void) while (1) { while (!current->need_resched) - if (wait_available) - __asm__(".set\tmips3\n\t" - "wait\n\t" - ".set\tmips0"); + if (cpu_wait) + (*cpu_wait)(); schedule(); check_pgt_cache(); } |