Module Name:    src
Committed By:   cliff
Date:           Wed Mar 24 19:23:24 UTC 2010

Modified Files:
        src/sys/arch/mips/mips [matt-nb5-mips64]: cpu_subr.c

Log Message:
- use IPI_AST instead of IPI_NOP when forcing ast
- remove residual debug ipi from cpu_boot_secondary_processors()


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/arch/mips/mips/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/cpu_subr.c
diff -u src/sys/arch/mips/mips/cpu_subr.c:1.1.2.6 src/sys/arch/mips/mips/cpu_subr.c:1.1.2.7
--- src/sys/arch/mips/mips/cpu_subr.c:1.1.2.6	Sun Mar 21 18:43:28 2010
+++ src/sys/arch/mips/mips/cpu_subr.c	Wed Mar 24 19:23:24 2010
@@ -32,7 +32,7 @@
 #include "opt_multiprocessor.h"
 #include "opt_sa.h"
 
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.1.2.6 2010/03/21 18:43:28 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.1.2.7 2010/03/24 19:23:24 cliff Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -481,7 +481,7 @@
 	l->l_md.md_astpending = 1;		/* force call to ast() */
 #ifdef MULTIPROCESSOR
 	if (ci != cur_ci && (flags & RESCHED_IMMED)) {
-		cpu_send_ipi(ci, IPI_NOP);
+		cpu_send_ipi(ci, IPI_AST);
 	} 
 #endif
 }
@@ -677,9 +677,6 @@
 		ci->ci_data.cpu_cc_skew = mips3_cp0_count_read();
 		atomic_or_ulong(&ci->ci_flags, CPUF_RUNNING);
 		atomic_or_ulong(&cpus_running, cpu_mask);
-#if 1	/* XXX TMP */
-		cpu_send_ipi(ci, IPI_NOP);
-#endif
 	}
 }
 #endif /* MULTIPROCESSOR */

Reply via email to