summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-09-23 00:20:56 +0200
committerJakub Kicinski <kuba@kernel.org>2022-09-24 05:56:28 +0200
commit21ab2078ff37ad9f81c080244ed51d80463d58d9 (patch)
tree84a585627f109e7c61942e0e13b178b9e7ed9d9d /mm/swap_state.c
parentnet: ipa: rearrange functions for similarity (diff)
downloadlinux-21ab2078ff37ad9f81c080244ed51d80463d58d9.tar.xz
linux-21ab2078ff37ad9f81c080244ed51d80463d58d9.zip
net: ipa: define BCR values using an enum
The backward compatibility register (BCR) has a set of bit flags that indicate ways in which the IPA hardware should operate in a backward compatible way. The register is not supported starting with IPA v4.5, and where it is supported, defined bits all have the same numeric value. Redefine these flags using an enumerated type, with each member's value representing the bit position that encodes it in the BCR. This replaces all of the single-bit field masks previously defined. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions