* Corrections for DEBUG_CRIT_SECTIONS (LINT build)
* smaller code size.
*/
void
-crit_exit_wrapper(void)
+crit_exit_wrapper(__DEBUG_CRIT_ARG__)
{
- _crit_exit(mycpu);
+ _crit_exit(mycpu __DEBUG_CRIT_PASS_ARG__);
}
void
extern void lwkt_cpusync_finish(lwkt_cpusync_t);
extern void crit_panic(void) __dead2;
-extern void crit_exit_wrapper(void);
extern struct lwp *lwkt_preempted_proc(void);
extern int lwkt_create (void (*func)(void *), void *, struct thread **,
#define crit_exit_noyield(curtd) _crit_exit_noyield((curtd))
#endif
+extern void crit_exit_wrapper(__DEBUG_CRIT_ARG__);
+
/*
* Track crit_enter()/crit_exit() pairs and warn on mismatches.
*/