Skip to content

Commit 296b03c

Browse files
Avenger-285714chenhuacai
authored andcommitted
LoongArch: KVM: Remove unnecessary definition of KVM_PRIVATE_MEM_SLOTS
1. "KVM_PRIVATE_MEM_SLOTS" is renamed as "KVM_INTERNAL_MEM_SLOTS". 2. "KVM_INTERNAL_MEM_SLOTS" defaults to zero, so it is not necessary to define it in LoongArch's asm/kvm_host.h. Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bdd1c37a315bc50ab14066c4852bc8dcf070451e Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b075450868dbc0950f0942617f222eeb989cad10 Reviewed-by: Bibo Mao <[email protected]> Signed-off-by: Wentao Guan <[email protected]> Signed-off-by: Yuli Wang <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent 4574815 commit 296b03c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/loongarch/include/asm/kvm_host.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
#define KVM_MAX_VCPUS 256
2828
#define KVM_MAX_CPUCFG_REGS 21
29-
/* memory slots that does not exposed to userspace */
30-
#define KVM_PRIVATE_MEM_SLOTS 0
3129

3230
#define KVM_HALT_POLL_NS_DEFAULT 500000
3331
#define KVM_REQ_TLB_FLUSH_GPA KVM_ARCH_REQ(0)

0 commit comments

Comments
 (0)