From ec55088093012f2db666d7599cae4123dd085f2c Mon Sep 17 00:00:00 2001 From: jasone Date: Sun, 21 Jan 2001 22:34:43 +0000 Subject: Move most of sys/mutex.h into kern/kern_mutex.c, thereby making the mutex inline functions non-inlined. Hide parts of the mutex implementation that should not be exposed. Make sure that WITNESS code is not executed during boot until the mutexes are fully initialized by SI_SUB_MUTEX (the original motivation for this commit). Submitted by: peter --- sys/alpha/include/mutex.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/alpha/include') diff --git a/sys/alpha/include/mutex.h b/sys/alpha/include/mutex.h index 5c37f54..40717b0 100644 --- a/sys/alpha/include/mutex.h +++ b/sys/alpha/include/mutex.h @@ -68,6 +68,8 @@ extern char STR_SIEN[]; *-------------------------------------------------------------------------- */ +#ifdef _KERN_MUTEX_C_ + #define _V(x) __STRING(x) /* @@ -84,6 +86,10 @@ extern char STR_SIEN[]; } \ } while (0) +#undef _V + +#endif /* _KERN_MUTEX_C_ */ + #endif /* _KERNEL */ #else /* !LOCORE */ -- cgit v1.1