From d2f86ad23c3057d9314eb44e4c289482e047f5aa Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 21 Dec 2008 10:41:23 +0100 Subject: [PATCH] Silence UP warning. --- sys/kern/lwkt_thread.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sys/kern/lwkt_thread.c b/sys/kern/lwkt_thread.c index fac4482..25aa40a 100644 --- a/sys/kern/lwkt_thread.c +++ b/sys/kern/lwkt_thread.c @@ -88,7 +88,9 @@ static __int64_t preempt_weird = 0; static __int64_t token_contention_count = 0; static __int64_t mplock_contention_count = 0; static int lwkt_use_spin_port; +#ifdef SMP static int chain_mplock = 0; +#endif static struct objcache *thread_cache; volatile cpumask_t mp_lock_contention_mask; -- 1.7.7.2