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 remove quick hack code to avoid shared IRQ ...



details:   https://anonhg.NetBSD.org/src/rev/86ec7dfcc211
branches:  trunk
changeset: 811039:86ec7dfcc211
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Fri Oct 09 13:03:55 2015 +0000

description:
remove quick hack code to avoid shared IRQ issue.

diffstat:

 sys/arch/x86/x86/intr.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r fb12276da576 -r 86ec7dfcc211 sys/arch/x86/x86/intr.c
--- a/sys/arch/x86/x86/intr.c   Fri Oct 09 12:56:02 2015 +0000
+++ b/sys/arch/x86/x86/intr.c   Fri Oct 09 13:03:55 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.89 2015/10/09 12:56:02 knakahara Exp $      */
+/*     $NetBSD: intr.c,v 1.90 2015/10/09 13:03:55 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.89 2015/10/09 12:56:02 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.90 2015/10/09 13:03:55 knakahara Exp $");
 
 #include "opt_intrdebug.h"
 #include "opt_multiprocessor.h"
@@ -1969,10 +1969,6 @@
 
        KASSERT(mutex_owned(&cpu_lock));
 
-       /* XXX avoid shared IRQ issue. */
-       if (isp->is_handlers == NULL)
-               return false;
-
        ci = isp->is_handlers->ih_cpu;
        KASSERT(ci != NULL);
 



Home | Main Index | Thread Index | Old Index