]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf/x86: Fix typo in uncore_pmu_to_box
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 27 Sep 2012 01:33:26 +0000 (09:33 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 27 Sep 2012 06:05:13 +0000 (08:05 +0200)
commit402537fd9f5499d1a50a6f20cdd9031d24ee2e47
tree2beeaf61f4ec56e61b55c961044427a00796bf51
parent5e19997a742c7c8203be628a7a69babc3bcf01a4
perf/x86: Fix typo in uncore_pmu_to_box

The variable box should not be declared as static.

This could probably cause crashes with sufficiently parallel
uncore PMU use.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Cc: eranian@google.com
Cc: a.p.zijlstra@chello.nl
Link: http://lkml.kernel.org/r/1348709606-2759-1-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_uncore.c