summaryrefslogtreecommitdiffstats
path: root/tools/memory-model
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antgroup.com>2022-03-11 15:03:43 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-02 05:34:43 -0400
commit8873c1434fac436f68ac2221676bb148e8fdffa2 (patch)
treea87c7509fe827f13836e7db8fe3ec9326dbdad90 /tools/memory-model
parent94b4a2f1745fe7aaa551d3d6a9424b6616587c72 (diff)
downloadlinux-8873c1434fac436f68ac2221676bb148e8fdffa2.tar.bz2
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 'tools/memory-model')
0 files changed, 0 insertions, 0 deletions