Since locking in kern/subr_prof.c is changed a bit, we need nomore of

time_lock spinlock exported.

Approved by: jeff (mentor)
This commit is contained in:
Attilio Rao 2007-06-09 19:41:14 +00:00
parent b7de7d87a0
commit 86a49dea5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170468
2 changed files with 1 additions and 3 deletions

View File

@ -85,7 +85,7 @@ SYSINIT(clocks, SI_SUB_CLOCKS, SI_ORDER_FIRST, initclocks, NULL)
long cp_time[CPUSTATES];
/* Spin-lock protecting profiling statistics. */
struct mtx time_lock;
static struct mtx time_lock;
static int
sysctl_kern_cp_time(SYSCTL_HANDLER_ARGS)

View File

@ -71,8 +71,6 @@ extern int bootverbose; /* nonzero to print verbose messages */
extern int maxusers; /* system tune hint */
extern struct mtx time_lock; /* time lock for profiling */
#ifdef INVARIANTS /* The option is always available */
#define KASSERT(exp,msg) do { \
if (__predict_false(!(exp))) \