diff options
author | Lai Jiangshan <jiangshan.ljs@antgroup.com> | 2022-03-11 10:03:43 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-02 12:34:43 +0300 |
commit | 8873c1434fac436f68ac2221676bb148e8fdffa2 (patch) | |
tree | a87c7509fe827f13836e7db8fe3ec9326dbdad90 /arch/x86/include/asm/bootparam_utils.h | |
parent | 94b4a2f1745fe7aaa551d3d6a9424b6616587c72 (diff) | |
download | linux-8873c1434fac436f68ac2221676bb148e8fdffa2.tar.xz |
KVM: X86: Rename variable smap to not_smap in permission_fault()
Comments above the variable says the bit is set when SMAP is overridden
or the same meaning in update_permission_bitmask(): it is not subjected
to SMAP restriction.
Renaming it to reflect the negative implication and make the code better
readability.
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Message-Id: <20220311070346.45023-4-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/bootparam_utils.h')
0 files changed, 0 insertions, 0 deletions