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)
commit27a59d57f073f21f029df1517c2c0a1abea5b0ce
tree10b5dfa2c28d6078f28286c621e35995aab23b46
parentbb924ca69f71b4f54c8f07be28e2b76f5ad1d2ac
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