diff options
author | Rob Herring <[email protected]> | 2023-01-09 13:26:20 -0600 |
---|---|---|
committer | Will Deacon <[email protected]> | 2023-01-19 18:30:22 +0000 |
commit | 2d347ac23362f6cfc5e04a4b998f51e1e7e909a8 (patch) | |
tree | 167057933f38cb994a201485699fe75530419dcf /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 956936041a56eaebc012cf62a00fafd86958ffd5 (diff) |
perf: arm_spe: Drop BIT() and use FIELD_GET/PREP accessors
Now that generated sysregs are in place, update the register field
accesses. The use of BIT() is no longer needed with the new defines. Use
FIELD_GET and FIELD_PREP instead of open coding masking and shifting.
No functional change.
Tested-by: James Clark <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions