diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-20 15:57:34 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-21 17:30:06 +0200 |
commit | 20f33a03f0cf87e51165f7084f697acfb68e865b (patch) | |
tree | 620923847a27c966b6b2030d784cc864e8ed06d3 /kernel/timer.c | |
parent | dd6414b50fa2b1cd247a8aa8f8bd42414b7453e1 (diff) | |
download | kernel_samsung_espresso10-20f33a03f0cf87e51165f7084f697acfb68e865b.zip kernel_samsung_espresso10-20f33a03f0cf87e51165f7084f697acfb68e865b.tar.gz kernel_samsung_espresso10-20f33a03f0cf87e51165f7084f697acfb68e865b.tar.bz2 |
posix-timers: Annotate lock_timer()
lock_timer() conditionally grabs it_lock in case of returning non-NULL
but unlock_timer() releases it unconditionally. This leads sparse to
complain about the lock context imbalance. Rename and wrap lock_timer
using __cond_lock() macro to make sparse happy.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions