locking, lib/proportions: Annotate prop_local_percpu::lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Sat, 25 Jul 2009 14:43:30 +0000 (16:43 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:11:50 +0000 (11:11 +0200)
commit740969f91e950b64a18fdd0a25164cdee042abf0
treeb152f88baf3868a7f3df4fa712ecd6a8c811d0a4
parentcdcc136ffd264849a943acb42c36ffe9b458f811
locking, lib/proportions: Annotate prop_local_percpu::lock as raw

The prop_local_percpu::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/proportions.h
lib/proportions.c