]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Use a bool for direct
authorDavid Matlack <dmatlack@google.com>
Wed, 22 Jun 2022 19:26:49 +0000 (15:26 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 08:51:53 +0000 (04:51 -0400)
commit93ef11248b30013a503431745f3e6805e2e87feb
tree10b5dfa2c28d6078f28286c621e35995aab23b46
parent50f23dacbc695d10126dbd618aeecde26ed63ec0
KVM: x86/mmu: Use a bool for direct

The parameter "direct" can either be true or false, and all of the
callers pass in a bool variable or true/false literal, so just use the
type bool.

No functional change intended.

Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220516232138.1783324-3-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c