lockdep: No need to disable preemption in debug atomic ops
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 4 May 2010 02:54:47 +0000 (04:54 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 4 May 2010 03:38:16 +0000 (05:38 +0200)
commit54d47a2be5e7f928fb77b2f5a0761f6bd3c9dbff
treef31a627eea303b08da532645fce94cbb4452ec30
parentfa9a97dec611c5356301645d576b523ce3919eba
lockdep: No need to disable preemption in debug atomic ops

No need to disable preemption in the debug_atomic_* ops, as
we ensure interrupts are disabled already.

So let's use the __this_cpu_ops() rather than this_cpu_ops() that
enclose the ops in a preempt disabled section.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
kernel/lockdep_internals.h