Module Name:    src
Committed By:   ad
Date:           Wed Apr 22 21:20:52 UTC 2009

Modified Files:
        src/sys/arch/x86/x86: intr.c

Log Message:
Route all interrupts back to the BP again, for the time being.
Distributing them is causing strange problems on some systems.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/x86/x86/intr.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/x86/x86/intr.c
diff -u src/sys/arch/x86/x86/intr.c:1.61 src/sys/arch/x86/x86/intr.c:1.62
--- src/sys/arch/x86/x86/intr.c:1.61	Sun Apr 19 14:11:37 2009
+++ src/sys/arch/x86/x86/intr.c	Wed Apr 22 21:20:52 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.c,v 1.61 2009/04/19 14:11:37 ad Exp $	*/
+/*	$NetBSD: intr.c,v 1.62 2009/04/22 21:20:52 ad Exp $	*/
 
 /*-
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.61 2009/04/19 14:11:37 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.62 2009/04/22 21:20:52 ad Exp $");
 
 #include "opt_intrdebug.h"
 #include "opt_multiprocessor.h"
@@ -510,10 +510,14 @@
 			if ((lci->ci_schedstate.spc_flags & SPCF_NOINTR) != 0) {
 				continue;
 			}
+#if 0
 			if (ci == NULL ||
 			    ci->ci_nintrhand > lci->ci_nintrhand) {
 			    	ci = lci;
 			}
+#else
+			ci = &cpu_info_primary;
+#endif
 		}
 		KASSERT(ci != NULL);
 		error = intr_allocate_slot_cpu(ci, pic, pin, &slot);

Reply via email to