summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-06-11 01:01:13 +0200
committerThomas Gleixner <tglx@linutronix.de>2014-06-21 22:05:30 +0200
commit358c331f391f3e0432f4f96f25017d12ac8d10b1 (patch)
tree6346e9262b2005bb21483f77c9bd09dace32d0b5 /firmware
parentrtmutex: Simplify rtmutex_slowtrylock() (diff)
downloadlinux-358c331f391f3e0432f4f96f25017d12ac8d10b1.tar.xz
linux-358c331f391f3e0432f4f96f25017d12ac8d10b1.zip
rtmutex: Simplify and document try_to_take_rtmutex()
The current implementation of try_to_take_rtmutex() is correct, but requires more than a single brain twist to understand the clever encoded conditionals. Untangle it and document the cases proper. Looks less efficient at the first glance, but actually reduces the binary code size on x8664 by 80 bytes. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions