Commit [54d47a]  Maximize  Restore  History

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 <>
Cc: Peter Zijlstra <>

Frederic Weisbecker Frederic Weisbecker 2010-05-04

changed kernel
changed kernel/lockdep_internals.h
kernel/lockdep_internals.h Diff Switch to side-by-side view