Skip to content
Snippets Groups Projects
Commit c5600b2d authored by Al Cooper's avatar Al Cooper Committed by Ralf Baechle
Browse files

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: default avatarAl 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 485172b3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment