perf, x86: Fix raw_spin_unlock_irqrestore() usage
Subsystems (2)
PATCH 1/1 perf, x86: Fix raw_spin_unlock_irqrestore() usage
Use raw_spin_unlock_irqrestore() as equivalent toraw_spin_lock_irqsave().
Signed-off-by Robert Richter <[email protected]>
--- arch/x86/kernel/cpu/perf_event_intel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/cpu/perf_event_intel.c +1 -1
@@ -1169,7 +1169,7 @@ again:*/ c = &unconstrained; }else if (intel_try_alt_er (event, orig_idx)) { -raw_spin_unlock (&era->lock); +raw_spin_unlock_irqrestore (&era->lock, flags); goto again; }raw_spin_unlock_irqrestore (&era->lock, flags);
Signature · 1 line
1.7.8
[tip:perf/urgent] perf/x86: Fix raw_spin_unlock_irqrestore() usage
Commit-ID: 2e64694de21a812d637dcbea4471ad1f7897b049 Gitweb: http://git.kernel.org/tip/2e64694de21a812d637dcbea4471ad1f7897b049 Author: Robert Richter <[email protected]> AuthorDate: Fri, 23 Dec 2011 14:24:25 +0100 Committer: Ingo Molnar <[email protected]> CommitDate: Fri, 23 Dec 2011 17:57:01 +0100
perf/x86: Fix raw_spin_unlock_irqrestore() usage
Use raw_spin_unlock_irqrestore() as equivalent toraw_spin_lock_irqsave().
Signed-off-by Robert Richter <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/kernel/cpu/perf_event_intel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/cpu/perf_event_intel.c +1 -1
@@ -1169,7 +1169,7 @@ again:*/ c = &unconstrained; }else if (intel_try_alt_er (event, orig_idx)) { -raw_spin_unlock (&era->lock); +raw_spin_unlock_irqrestore (&era->lock, flags); goto again; }raw_spin_unlock_irqrestore (&era->lock, flags);