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 Fix obvious typo (don't mark current cp...



details:   https://anonhg.NetBSD.org/src/rev/0c7916dd619e
branches:  trunk
changeset: 499414:0c7916dd619e
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun Nov 19 20:05:25 2000 +0000

description:
Fix obvious typo (don't mark current cpu as not running when doing a
broadcast IPI).

diffstat:

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

diffs (27 lines):

diff -r 79065983f7e3 -r 0c7916dd619e sys/arch/alpha/alpha/ipifuncs.c
--- a/sys/arch/alpha/alpha/ipifuncs.c   Sun Nov 19 19:52:37 2000 +0000
+++ b/sys/arch/alpha/alpha/ipifuncs.c   Sun Nov 19 20:05:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipifuncs.c,v 1.20 2000/11/18 19:25:36 thorpej Exp $ */
+/* $NetBSD: ipifuncs.c,v 1.21 2000/11/19 20:05:25 sommerfeld Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.20 2000/11/18 19:25:36 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.21 2000/11/19 20:05:25 sommerfeld Exp $");
 
 /*
  * Interprocessor interrupt handlers.
@@ -145,7 +145,7 @@
        u_long i, cpu_id = cpu_number();
        u_long cpumask;
 
-       cpumask = cpus_running &= ~(1UL << cpu_id);
+       cpumask = cpus_running & ~(1UL << cpu_id);
 
        for (i = 0; i < hwrpb->rpb_pcs_cnt; i++) {
                if ((cpumask & (1UL << i)) == 0)



Home | Main Index | Thread Index | Old Index