summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antgroup.com>2022-03-11 08:03:43 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-02 11:34:43 +0200
commit8873c1434fac436f68ac2221676bb148e8fdffa2 (patch)
treea87c7509fe827f13836e7db8fe3ec9326dbdad90 /drivers/gpu
parentKVM: X86: Fix comments in update_permission_bitmask (diff)
downloadlinux-8873c1434fac436f68ac2221676bb148e8fdffa2.tar.xz
linux-8873c1434fac436f68ac2221676bb148e8fdffa2.zip
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 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions