diff options
author | Robin Murphy <robin.murphy@arm.com> | 2018-03-26 14:35:12 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-03-27 15:12:05 +0200 |
commit | 7417b99c49e5bb77e04d64c915da2ee4bfcbf8a8 (patch) | |
tree | 4ce783032d9c68be4ae11b67e61767a4dcc5d9e6 /mm/zswap.c | |
parent | iommu/arm-smmu-v3: Clean up table definitions (diff) | |
download | linux-7417b99c49e5bb77e04d64c915da2ee4bfcbf8a8.tar.xz linux-7417b99c49e5bb77e04d64c915da2ee4bfcbf8a8.zip |
iommu/arm-smmu-v3: Clean up queue definitions
As with registers and tables, use GENMASK and the bitfield accessors
consistently for queue fields, to save some lines and ease maintenance
a little. This now leaves everything in a nice state where all named
field definitions expect to be used with bitfield accessors (although
since single-bit fields can still be used directly we leave some of
those uses as-is to avoid unnecessary churn), while the few remaining
*_MASK definitions apply exclusively to in-place values.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions