diff options
author | Paolo Bonzini <[email protected]> | 2023-11-25 03:33:57 -0500 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-12-01 07:52:07 -0800 |
commit | 5f3c8c9187b6fa8675951f9fad5b99b11fed21f6 (patch) | |
tree | 32fde6540152481339e9bfcdd32da88071cc7b26 /arch/mips/power/hibernate.c | |
parent | 45a61ebb221117748d3567a86908618f431ac824 (diff) |
KVM: x86/mmu: remove unnecessary "bool shared" argument from functions
Neither tdp_mmu_next_root nor kvm_tdp_mmu_put_root need to know
if the lock is taken for read or write. Either way, protection
is achieved via RCU and tdp_mmu_pages_lock. Remove the argument
and just assert that the lock is taken.
Reviewed-by: Maxim Levitsky <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'arch/mips/power/hibernate.c')
0 files changed, 0 insertions, 0 deletions