Make mutexes a tiny bit leaner. There is no need for a separate locked semaphore...
commit5185090b54cd79031c0937c9ebd7cee86a6de8f0
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 26 Dec 2010 05:59:39 +0000 (26 05:59 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 26 Dec 2010 05:59:39 +0000 (26 05:59 +0000)
tree00b9226241ecb83e8c92798241bb14ebcf5b6fab
parent5f50a47bf0112a370d8e49d1741d25ab24a440fe
Make mutexes a tiny bit leaner. There is no need for a separate locked semaphore since having an owning thread also indicates that it is locked. Rename member 'count' to 'recursion' since it counts reentry, not locks. Change presents no compatibility issues for plugins or codecs because the structure size goes down.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28901 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/ata_mmc.c
firmware/export/kernel.h
firmware/kernel.c