Rename CRITSECT_ASSERT to CRITICAL_ASSERT.
Suggested by: jhb MFC after: 1 month
This commit is contained in:
parent
c9e4fb34cb
commit
4a23ecc77e
@ -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();
|
||||
|
@ -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"));
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user