aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-03-14 23:26:33 +0000
committerSean Christopherson <[email protected]>2024-04-29 19:55:18 +0000
commit23ef21f58cf8bbecbe479015ef79baa15a0da0b8 (patch)
tree540e4c7f3a627a5c709ec61e615b3a7c89b650d4 /arch/powerpc/lib/code-patching.c
parentKVM: selftests: Drop superfluous switch() on vm->mode in vcpu_init_sregs() (diff)
downloadkernel-23ef21f58cf8bbecbe479015ef79baa15a0da0b8.tar.gz
kernel-23ef21f58cf8bbecbe479015ef79baa15a0da0b8.zip
KVM: selftests: Fold x86's descriptor tables helpers into vcpu_init_sregs()
Now that the per-VM, on-demand allocation logic in kvm_setup_gdt() and vcpu_init_descriptor_tables() is gone, fold them into vcpu_init_sregs(). Note, both kvm_setup_gdt() and vcpu_init_descriptor_tables() configured the GDT, which is why it looks like kvm_setup_gdt() disappears. Opportunistically delete the pointless zeroing of the IDT limit (it was being unconditionally overwritten by vcpu_init_descriptor_tables()). Reviewed-by: Ackerley Tng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions