diff options
author | Al Cooper <alcooperx@gmail.com> | 2012-07-13 16:44:50 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-10-11 11:02:41 +0200 |
commit | c5600b2dd9fc7318feddf69f127ca793437c714d (patch) | |
tree | 23f669aec84929c070db8996e2e8d8598555fb6a /arch/sparc/kernel/pci_common.c | |
parent | 485172b3dff29f888a88d3dba8caec5d589a4049 (diff) |
MIPS: perf: Change the "mips_perf_event" table unsupported indicator.
Change the indicator from 0xffffffff in the "event_id" member to
zero in the "cntr_mask" member. This removes the need to initialize
entries that are unsupported. This also solves a problem where the
number of entries in the table was increased based on a globel enum
used for all platforms, but the new unsupported entries were not added
for mips. This was leaving new table entries of all zeros that we not
marked UNSUPPORTED.
Signed-off-by: Al Cooper <alcooperx@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/4110/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/sparc/kernel/pci_common.c')
0 files changed, 0 insertions, 0 deletions