aboutsummaryrefslogtreecommitdiff
path: root/include/lock.h
AgeCommit message (Collapse)AuthorFilesLines
2015-02-12Use LOCK_UNLOCKED macro to in init_lock()Michael Neuling1-2/+1
Avoids duplication of init values. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-07-08lock: Add helper to check if this CPU is already holding a lockBenjamin Herrenschmidt1-0/+2
For debug purposes essentially Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-07-02Initial commit of Open Source releaseBenjamin Herrenschmidt1-0/+83
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>