summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2022-04-19 20:06:07 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2022-06-08 02:06:33 +0300
commit54ee1844047c1df015ab2679a4f55564a3aa1fa1 (patch)
treee7a49ee3920cb5d96c876fdead0ae6321d4db2e6 /arch/x86/include
parentf8c1d4ca55177326adad1fdc6bf602423a507542 (diff)
downloadlinux-54ee1844047c1df015ab2679a4f55564a3aa1fa1.tar.xz
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/eff862e2-bfaa-9e12-42b5-a12467d72a22@intel.com/ Suggested-by: Dave Hansen <dave.hansen@linux.intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lkml.kernel.org/r/20220419170649.1022246-3-ira.weiny@intel.com
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions