diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-10-02 23:30:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-10-02 23:30:40 +0000 |
commit | 5f350d1fcac52f90c3748e7e05cf6ec11f50bc74 (patch) | |
tree | 8d0037b0fbb03e84ef39fc9ad6cd61164f4328ed /sys/arch/i386 | |
parent | 038262b0f4494f29379d28df360fcf91436e18cf (diff) |
unneccessary check before calling cpu_unidle; Vladimir Kirillov
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 62e395b4e89..d2da0fd83a7 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.483 2010/09/29 15:11:31 joshe Exp $ */ +/* $OpenBSD: machdep.c,v 1.484 2010/10/02 23:30:39 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -3303,8 +3303,7 @@ need_resched(struct cpu_info *ci) /* There's a risk we'll be called before the idle threads start */ if (ci->ci_curproc) { aston(ci->ci_curproc); - if (ci != curcpu()) - cpu_unidle(ci); + cpu_unidle(ci); } } |