summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/disp/thread.c
diff options
context:
space:
mode:
authorColin Yi <Colin.Yi@Sun.COM>2009-05-25 10:17:17 +0800
committerColin Yi <Colin.Yi@Sun.COM>2009-05-25 10:17:17 +0800
commite8bb33d8a52501da2c03bbcb5fddf3239b74ad8c (patch)
tree94883abab6376fce3078fb698a6a0f0c2a885ca5 /usr/src/uts/common/disp/thread.c
parent81d9ccb6366881724acaad97008e11a87a8a7bd6 (diff)
downloadillumos-joyent-e8bb33d8a52501da2c03bbcb5fddf3239b74ad8c.tar.gz
6826573 System crashing while installing snv_111
Diffstat (limited to 'usr/src/uts/common/disp/thread.c')
-rw-r--r--usr/src/uts/common/disp/thread.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/usr/src/uts/common/disp/thread.c b/usr/src/uts/common/disp/thread.c
index 2b45b8d8ab..740d247672 100644
--- a/usr/src/uts/common/disp/thread.c
+++ b/usr/src/uts/common/disp/thread.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1708,25 +1708,6 @@ tsd_realloc(void *old, size_t osize, size_t nsize)
}
/*
- * Check to see if an interrupt thread might be active at a given ipl.
- * If so return true.
- * We must be conservative--it is ok to give a false yes, but a false no
- * will cause disaster. (But if the situation changes after we check it is
- * ok--the caller is trying to ensure that an interrupt routine has been
- * exited).
- * This is used when trying to remove an interrupt handler from an autovector
- * list in avintr.c.
- */
-int
-intr_active(struct cpu *cp, int level)
-{
- if (level <= LOCK_LEVEL)
- return (cp->cpu_thread != cp->cpu_dispthread);
- else
- return (CPU_ON_INTR(cp));
-}
-
-/*
* Return non-zero if an interrupt is being serviced.
*/
int