From f085246ad59fca0faa1031f599f2cee3eec6cc03 Mon Sep 17 00:00:00 2001 From: he Date: Thu, 25 Oct 2007 09:43:24 +0000 Subject: [PATCH] Move from want_resched to ci->ci_want_resched. --- sys/arch/acorn26/acorn26/machdep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/acorn26/acorn26/machdep.c b/sys/arch/acorn26/acorn26/machdep.c index b10090bb5ec6..ae48c848d3f7 100644 --- a/sys/arch/acorn26/acorn26/machdep.c +++ b/sys/arch/acorn26/acorn26/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.21 2007/10/17 19:52:52 garbled Exp $ */ +/* $NetBSD: machdep.c,v 1.22 2007/10/25 09:43:24 he Exp $ */ /*- * Copyright (c) 1998 Ben Harris @@ -32,7 +32,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.21 2007/10/17 19:52:52 garbled Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.22 2007/10/25 09:43:24 he Exp $"); #include #include @@ -221,10 +221,10 @@ cpu_need_resched(struct cpu_info *ci, int flags) { bool immed = (flags & RESCHED_IMMED) != 0; - if (want_resched && !immed) + if (ci->ci_want_resched && !immed) return; - want_resched = 1; + ci->ci_want_resched = 1; if (curlwp != ci->ci_data.cpu_idlelwp) setsoftast(); }