perf fix for v3.7
Subsystems (2)
Linus,
Please pull the latest perf-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus
HEAD: 402537fd9f5499d1a50a6f20cdd9031d24ee2e47 perf/x86: Fix typo in uncore_pmu_to_box
Leftover perf/urgent fix from the v3.6 cycle.
Thanks,
Ingo
------------------>
Yan, Zheng (1):
perf/x86: Fix typo in uncore_pmu_to_box
arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/perf_event_intel_uncore.c +1 -1
@@ -1950,7 +1950,7 @@ struct intel_uncore_box *uncore_alloc_box(struct intel_uncore_type *type, int cpstatic struct intel_uncore_box *uncore_pmu_to_box (struct intel_uncore_pmu *pmu,int cpu) { -static struct intel_uncore_box *box; +struct intel_uncore_box *box; box = *per_cpu_ptr (pmu->box, cpu);if (box)