Commit 3847c2d9 authored by Thomas Gleixner's avatar Thomas Gleixner

perf_counters: Convert context lock to atomic_spinlock

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f32843e6
......@@ -584,7 +584,7 @@ struct perf_counter_context {
* Protect the states of the counters in the list,
* nr_active, and the list:
*/
spinlock_t lock;
atomic_spinlock_t lock;
/*
* Protect the list of counters. Locking either mutex or lock
* is sufficient to ensure the list doesn't change; to change
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment