commit | 7002f77541f877a5590615ceb3da32b114f14b62 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Sun Jun 14 02:09:06 2015 +0300 |
committer | Vineet Gupta <vgupta@synopsys.com> | Fri Jun 19 18:09:28 2015 +0530 |
tree | 3ec6707fed5976d3f2b47cf2dcb6a8f63ceb1d21 | |
parent | b27f7391718537333383b14822311d6dad1d6eb5 [diff] |
arc: fix use of uninitialized arc_pmu static arc_pmu in the arch/arc/kernel/perf_event.c is not initialized as it's shadowed by a local variable of the same name in the arc_pmu_device_probe. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Fixes: 03c94fcf954d "ARC: perf: make @arc_pmu static global" CC: <stable@vger.kernel.org> # 4.1 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>