Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha alpha_ipi_ast: use ci_data.cpu_onproc, ...



details:   https://anonhg.NetBSD.org/src/rev/57d56feb3238
branches:  trunk
changeset: 846533:57d56feb3238
user:      ad <ad%NetBSD.org@localhost>
date:      Thu Nov 21 19:02:43 2019 +0000

description:
alpha_ipi_ast: use ci_data.cpu_onproc, not ci_curlwp.

diffstat:

 sys/arch/alpha/alpha/ipifuncs.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 931466f4a5fb -r 57d56feb3238 sys/arch/alpha/alpha/ipifuncs.c
--- a/sys/arch/alpha/alpha/ipifuncs.c   Thu Nov 21 18:56:55 2019 +0000
+++ b/sys/arch/alpha/alpha/ipifuncs.c   Thu Nov 21 19:02:43 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipifuncs.c,v 1.48 2014/05/19 22:47:53 rmind Exp $ */
+/* $NetBSD: ipifuncs.c,v 1.49 2019/11/21 19:02:43 ad Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.48 2014/05/19 22:47:53 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.49 2019/11/21 19:02:43 ad Exp $");
 
 /*
  * Interprocessor interrupt handlers.
@@ -263,8 +263,8 @@
 alpha_ipi_ast(struct cpu_info *ci, struct trapframe *framep)
 {
 
-       if (ci->ci_curlwp != ci->ci_data.cpu_idlelwp)
-               aston(ci->ci_curlwp);
+       if (ci->ci_data.cpu_onproc != ci->ci_data.cpu_idlelwp)
+               aston(ci->ci_data.cpu_onproc);
 }
 
 static void



Home | Main Index | Thread Index | Old Index