Rename CRITSECT_ASSERT to CRITICAL_ASSERT.

Suggested by:	jhb
MFC after:	1 month
This commit is contained in:
Konstantin Belousov 2010-06-15 14:59:35 +00:00
parent c9e4fb34cb
commit 4a23ecc77e
2 changed files with 2 additions and 2 deletions

View File

@ -439,7 +439,7 @@ fpudrop()
td = PCPU_GET(fpcurthread);
KASSERT(td == curthread, ("fpudrop: fpcurthread != curthread"));
CRITSECT_ASSERT(td);
CRITICAL_ASSERT(td);
PCPU_SET(fpcurthread, NULL);
td->td_pcb->pcb_flags &= ~PCB_FPUINITDONE;
start_emulating();

View File

@ -325,7 +325,7 @@ do { \
#define THREAD_LOCKPTR_ASSERT(td, lock)
#endif
#define CRITSECT_ASSERT(td) \
#define CRITICAL_ASSERT(td) \
KASSERT((td)->td_critnest >= 1, ("Not in critical section"));
/*