From 7eb15eeb0b1a3f960946b7563765e128425fc13b Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Wed, 28 Jan 2015 20:32:26 -0500 Subject: [PATCH] 5568 'allthreads' needs to be global Reviewed by: Robert Mustacchi Approved by: Dan McDonald --- usr/src/uts/common/disp/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/src/uts/common/disp/thread.c b/usr/src/uts/common/disp/thread.c index 8998b6ea51..f2685af534 100644 --- a/usr/src/uts/common/disp/thread.c +++ b/usr/src/uts/common/disp/thread.c @@ -83,7 +83,7 @@ struct kmem_cache *turnstile_cache; /* cache of free turnstiles */ * allthreads is only for use by kmem_readers. All kernel loops can use * the current thread as a start/end point. */ -static kthread_t *allthreads = &t0; /* circular list of all threads */ +kthread_t *allthreads = &t0; /* circular list of all threads */ static kcondvar_t reaper_cv; /* synchronization var */ kthread_t *thread_deathrow; /* circular list of reapable threads */ -- 2.11.4.GIT