]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Rename get_max_npt_level() to get_npt_level()
authorLai Jiangshan <laijs@linux.alibaba.com>
Thu, 18 Nov 2021 11:08:07 +0000 (19:08 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:25:07 +0000 (04:25 -0500)
commit44ddebe2182fafddf0387834cce1795e3f9f2a04
treedee551258cdda8ead9c48744656337af80b97af6
parent65ff6f1573025670e0d6c4e6df5269b35c379d58
KVM: SVM: Rename get_max_npt_level() to get_npt_level()

It returns the only proper NPT level, so the "max" in the name
is not appropriate.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211118110814.2568-9-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c