diff options
author | Ira Weiny <[email protected]> | 2022-04-19 10:06:07 -0700 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2022-06-07 16:06:33 -0700 |
commit | 54ee1844047c1df015ab2679a4f55564a3aa1fa1 (patch) | |
tree | e7a49ee3920cb5d96c876fdead0ae6321d4db2e6 /lib/mpi/mpi-sub-ui.c | |
parent | f8c1d4ca55177326adad1fdc6bf602423a507542 (diff) |
x86/pkeys: Clarify PKRU_AD_KEY macro
When changing the PKRU_AD_KEY macro to be used for PKS the name came
into question.[1]
The intent of PKRU_AD_KEY is to set an initial value for the PKRU
register but that is just a mask value.
Clarify this by changing the name to PKRU_AD_MASK().
NOTE the checkpatch errors are ignored for the init_pkru_value to align
the values in the code.
[1] https://lore.kernel.org/lkml/[email protected]/
Suggested-by: Dave Hansen <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions