diff options
| author | et142600 <none@none> | 2007-03-09 13:52:20 -0800 |
|---|---|---|
| committer | et142600 <none@none> | 2007-03-09 13:52:20 -0800 |
| commit | 30ef5f63e6b80ec1b922ecf4e6ed3ff3a09cfd89 (patch) | |
| tree | 91fff602d3f38bff6800445024f5db55eb5369cc | |
| parent | b52a7fd78f8bc50ef32193f5f26d2f8b39796a05 (diff) | |
| download | illumos-joyent-30ef5f63e6b80ec1b922ecf4e6ed3ff3a09cfd89.tar.gz | |
6528546 system panic with add_softintr: exceeded 1208 handlers
| -rw-r--r-- | usr/src/uts/sun4/io/px/px_debug.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/sun4/io/px/px_debug.c b/usr/src/uts/sun4/io/px/px_debug.c index ff981c9f30..7c2166c499 100644 --- a/usr/src/uts/sun4/io/px/px_debug.c +++ b/usr/src/uts/sun4/io/px/px_debug.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -279,9 +279,10 @@ void px_dbg_detach(dev_info_t *dip, ddi_softint_handle_t *dbg_hdl) { #ifdef DEBUG + if (dbg_hdl != NULL) + (void) ddi_intr_remove_softint(*dbg_hdl); + if (--px_dbg_reference == 0) { - if (dbg_hdl != NULL) - (void) ddi_intr_remove_softint(*dbg_hdl); if (px_dbg_msgq != NULL) kmem_free(px_dbg_msgq, sizeof (px_dbg_msg_t) * px_dbg_msg_size); |
