locking, percpu_counter: Annotate ::lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Sat, 25 Jul 2009 14:21:48 +0000 (16:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:11:47 +0000 (11:11 +0200)
commitf032a450812f6c7edd532772cc7c48091bca9f27
tree697632b583437656337cd883b1bb52bca2f6d77f
parentec484608c5885931c432e99ecfd2772288cd993c
locking, percpu_counter: Annotate ::lock as raw

The percpu_counter::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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/percpu_counter.h
lib/percpu_counter.c