callb.c (168404) | callb.c (177253) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 345 unchanged lines hidden (view full) --- 354{ 355 mutex_enter(&ct->ct_lock); 356 ASSERT(ct->ct_busy != 0); 357 ct->ct_busy = 0; 358 cv_broadcast(&ct->ct_busy_cv); 359 mutex_exit(&ct->ct_lock); 360} 361 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 345 unchanged lines hidden (view full) --- 354{ 355 mutex_enter(&ct->ct_lock); 356 ASSERT(ct->ct_busy != 0); 357 ct->ct_busy = 0; 358 cv_broadcast(&ct->ct_busy_cv); 359 mutex_exit(&ct->ct_lock); 360} 361 |
362SYSINIT(sol_callb, SI_SUB_DRIVERS, SI_ORDER_FIRST, callb_init, NULL) | 362SYSINIT(sol_callb, SI_SUB_DRIVERS, SI_ORDER_FIRST, callb_init, NULL); |
363SYSUNINIT(sol_callb, SI_SUB_DRIVERS, SI_ORDER_FIRST, callb_fini, NULL); | 363SYSUNINIT(sol_callb, SI_SUB_DRIVERS, SI_ORDER_FIRST, callb_fini, NULL); |