• Soby Mathew's avatar
    Remove the `owner` field in bakery_lock_t data structure · 548579f5
    Soby Mathew authored
    This patch removes the `owner` field in bakery_lock_t structure which
    is the data structure used in the bakery lock implementation that uses
    coherent memory. The assertions to protect against recursive lock
    acquisition were based on the 'owner' field. They are now done based
    on the bakery lock ticket number. These assertions are also added
    to the bakery lock implementation that uses normal memory as well.
    
    Change-Id: If4850a00dffd3977e218c0f0a8d145808f36b470
    548579f5
bakery_lock.h 3.47 KB