Remove the `owner` field in bakery_lock_t data structure
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
1 parent 1c9573a commit 548579f56eb95d3d4ba1484a8922a9f6e0a03c73
@Soby Mathew Soby Mathew authored on 20 Feb 2015
Showing 3 changed files
View
include/lib/bakery_lock.h
View
lib/locks/bakery/bakery_lock_coherent.c
View
lib/locks/bakery/bakery_lock_normal.c