Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 always notice if the device's interrupt set...
details: https://anonhg.NetBSD.org/src/rev/17a76a994387
branches: trunk
changeset: 353091:17a76a994387
user: knakahara <knakahara%NetBSD.org@localhost>
date: Thu Apr 20 02:42:59 2017 +0000
description:
always notice if the device's interrupt set affinity to other than CPU#0.
suggested by msaitoh@n.o.
diffstat:
sys/arch/x86/x86/intr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 44d9f2258788 -r 17a76a994387 sys/arch/x86/x86/intr.c
--- a/sys/arch/x86/x86/intr.c Thu Apr 20 00:17:11 2017 +0000
+++ b/sys/arch/x86/x86/intr.c Thu Apr 20 02:42:59 2017 +0000
@@ -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 @@
(*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,
Home |
Main Index |
Thread Index |
Old Index