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)
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

Simple merge