Commit 1dd2980d authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar

perf_event, amd: Fix spinlock initialization

Avoid kernels from exploding on AMD machines when they have any
lock debugging bits enabled.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 24691ea9
#ifdef CONFIG_CPU_SUP_AMD
static raw_spinlock_t amd_nb_lock;
static DEFINE_RAW_SPINLOCK(amd_nb_lock);
static __initconst u64 amd_hw_cache_event_ids
[PERF_COUNT_HW_CACHE_MAX]
......
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