locking, printk: Annotate logbuf_lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Sat, 25 Jul 2009 15:50:36 +0000 (17:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:11:54 +0000 (11:11 +0200)
commit07354eb1a74d1e1ece29f8bafe0b46e8c77a95ef
tree4e2370ce5a6eb5eccc20d89dcfca44cc0dafbfa6
parent5389f6fad27019f2ba78f1b332f719ec05f12a42
locking, printk: Annotate logbuf_lock as raw

The logbuf_lock lock can be taken in atomic context and therefore
cannot be preempted on -rt - annotate it.

In mainline this change documents the low level nature of
the lock - otherwise there's no functional difference. Lockdep
and Sparse checking will work as usual.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[ merged and fixed it ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ratelimit.h
kernel/printk.c
lib/ratelimit.c