Module Name:    src
Committed By:   knakahara
Date:           Thu Apr 20 02:42:59 UTC 2017

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

Log Message:
always notice if the device's interrupt set affinity to other than CPU#0.

suggested by msaitoh@n.o.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 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.99 src/sys/arch/x86/x86/intr.c:1.100
--- src/sys/arch/x86/x86/intr.c:1.99	Tue Apr 18 11:49:50 2017
+++ src/sys/arch/x86/x86/intr.c	Thu Apr 20 02:42:59 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.c,v 1.99 2017/04/18 11:49:50 knakahara Exp $	*/
+/*	$NetBSD: intr.c,v 1.100 2017/04/20 02:42:59 knakahara 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.99 2017/04/18 11:49:50 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.100 2017/04/20 02:42:59 knakahara Exp $");
 
 #include "opt_intrdebug.h"
 #include "opt_multiprocessor.h"
@@ -1082,7 +1082,7 @@ intr_establish_xname(int legacy_irq, str
 	(*pic->pic_hwunmask)(pic, pin);
 	mutex_exit(&cpu_lock);
 
-	if (bootverbose)
+	if (bootverbose || cpu_index(ci) != 0)
 		aprint_verbose("allocated pic %s type %s pin %d level %d to %s slot %d "
 		    "idt entry %d\n",
 		    pic->pic_name, type == IST_EDGE ? "edge" : "level", pin, level,

Reply via email to