locking, oprofile: Annotate oprofilefs lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Sat, 25 Jul 2009 14:18:34 +0000 (16:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:12:05 +0000 (11:12 +0200)
commit2d21a29fb62f142b8a62496700d8d82a6a8fd783
tree78d83ed47a72b1e31ecadb3f77e91f865b407b48
parent6b2c1800f1d3a608af952cfbd57f8f1a71c5d9b4
locking, oprofile: Annotate oprofilefs lock as raw

The oprofilefs_lock can be taken in atomic context (in profiling
interrupts) and therefore cannot 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>
arch/x86/oprofile/nmi_int.c
drivers/oprofile/event_buffer.c
drivers/oprofile/oprofile_perf.c
drivers/oprofile/oprofilefs.c
include/linux/oprofile.h