diff options
author | 2010-05-04 04:54:47 +0200 | |
---|---|---|
committer | 2010-05-04 05:38:16 +0200 | |
commit | 54d47a2be5e7f928fb77b2f5a0761f6bd3c9dbff (patch) | |
tree | f31a627eea303b08da532645fce94cbb4452ec30 /lib/bug.c | |
parent | lockdep: Actually _dec_ in debug_atomic_dec (diff) | |
download | wireguard-linux-54d47a2be5e7f928fb77b2f5a0761f6bd3c9dbff.tar.xz wireguard-linux-54d47a2be5e7f928fb77b2f5a0761f6bd3c9dbff.zip |
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>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions