From c63a62d4d9d02c587bf759a07763765cbb2a76a7 Mon Sep 17 00:00:00 2001 From: Visa Hankala Date: Sun, 5 May 2019 13:36:29 +0000 Subject: Call cpu_unidle() from need_resched() on mips64 like most other architectures. --- sys/arch/mips64/mips64/cpu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/mips64/mips64/cpu.c b/sys/arch/mips64/mips64/cpu.c index b5bbf3b82dc..336aaf85091 100644 --- a/sys/arch/mips64/mips64/cpu.c +++ b/sys/arch/mips64/mips64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.71 2019/05/05 13:28:14 visa Exp $ */ +/* $OpenBSD: cpu.c,v 1.72 2019/05/05 13:36:28 visa Exp $ */ /* * Copyright (c) 1997-2004 Opsycon AB (www.opsycon.se) @@ -477,8 +477,10 @@ need_resched(struct cpu_info *ci) { ci->ci_want_resched = 1; - if (ci->ci_curproc != NULL) + if (ci->ci_curproc != NULL) { aston(ci->ci_curproc); + cpu_unidle(ci); + } } #ifdef MULTIPROCESSOR -- cgit v1.2.3