| From | Waiman Long <> | Subject | Re: [patch 15/63] locking: Add base code for RT rw_semaphore and rwlock | Date | Wed, 4 Aug 2021 15:37:35 -0400 |
| |
On 7/30/21 9:50 AM, Thomas Gleixner wrote: > +static int __sched rwbase_write_lock(struct rwbase_rt *rwb, > + unsigned int state) > +{ > + struct rt_mutex_base *rtm = &rwb->rtmutex; > + unsigned long flags; > + > + /* Take the rtmutex as a first step */ > + if (rwbase_rtmutex_lock_state(rtm, state))
This function is used here before it was defined in next patch (patch 16).
Cheers, Longman
|