File tree Expand file tree Collapse file tree 3 files changed +0
-20
lines changed
Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -122,24 +122,6 @@ __mp_release_all(struct __mp_lock *mpl)
122122 return (rv );
123123}
124124
125- int
126- __mp_release_all_but_one (struct __mp_lock * mpl )
127- {
128- struct __mp_lock_cpu * cpu = & mpl -> mpl_cpus [cpu_number ()];
129- int rv = cpu -> mplc_depth - 1 ;
130-
131- #ifdef MP_LOCKDEBUG
132- if (!__mp_lock_held (mpl )) {
133- db_printf ("__mp_release_all_but_one(%p): not held lock\n" , mpl );
134- Debugger ();
135- }
136- #endif
137-
138- cpu -> mplc_depth = 1 ;
139-
140- return (rv );
141- }
142-
143125void
144126__mp_acquire_count (struct __mp_lock * mpl , int count )
145127{
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ void __mp_lock_init(struct __mp_lock *);
4444void __mp_lock (struct __mp_lock * );
4545void __mp_unlock (struct __mp_lock * );
4646int __mp_release_all (struct __mp_lock * );
47- int __mp_release_all_but_one (struct __mp_lock * );
4847void __mp_acquire_count (struct __mp_lock * , int );
4948int __mp_lock_held (struct __mp_lock * );
5049
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ void __mp_lock_init(struct __mp_lock *);
3636void __mp_lock (struct __mp_lock * );
3737void __mp_unlock (struct __mp_lock * );
3838int __mp_release_all (struct __mp_lock * );
39- int __mp_release_all_but_one (struct __mp_lock * );
4039void __mp_acquire_count (struct __mp_lock * , int );
4140int __mp_lock_held (struct __mp_lock * );
4241#endif
You can’t perform that action at this time.
0 commit comments