diff options
author | Athira Rajeev <[email protected]> | 2021-10-07 12:25:02 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-10-12 18:38:50 +1100 |
commit | 02b182e67482d9167a13a0ff19b55037b70b21ad (patch) | |
tree | a3809ce1590c4c45b84df80c26d4e963e75f9c27 /lib/test_fortify/write_overflow-memset.c | |
parent | f9473a65719e59c45f1638cc04db7c80de8fcc1a (diff) |
powerpc/perf: Refactor the code definition of perf reg extended mask
PERF_REG_PMU_MASK_300 and PERF_REG_PMU_MASK_31 defines the mask
value for extended registers. Current definition of these mask values
uses hex constant and does not use registers by name, making it less
readable. Patch refactor the macro values by or'ing together the actual
register value constants. Also include PERF_REG_EXTENDED_MAX as
part of enum definition.
Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Athira Rajeev <[email protected]>
Reviewed-by: Kajol Jain<[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions