mirror-linux/arch/loongarch/include/uapi/asm
Paolo Bonzini 8886640dad kvm: replace __KVM_HAVE_READONLY_MEM with Kconfig symbol
KVM uses __KVM_HAVE_* symbols in the architecture-dependent uapi/asm/kvm.h to mask
unused definitions in include/uapi/linux/kvm.h.  __KVM_HAVE_READONLY_MEM however
was nothing but a misguided attempt to define KVM_CAP_READONLY_MEM only on
architectures where KVM_CHECK_EXTENSION(KVM_CAP_READONLY_MEM) could possibly
return nonzero.  This however does not make sense, and it prevented userspace
from supporting this architecture-independent feature without recompilation.

Therefore, these days __KVM_HAVE_READONLY_MEM does not mask anything and
is only used in virt/kvm/kvm_main.c.  Userspace does not need to test it
and there should be no need for it to exist.  Remove it and replace it
with a Kconfig symbol within Linux source code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-02-08 08:41:06 -05:00
..
Kbuild
auxvec.h LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
bpf_perf_event.h LoongArch: Add BPF JIT support 2022-10-12 16:36:20 +08:00
break.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
byteorder.h
hwcap.h LoongArch: Introduce hardware page table walker 2023-06-29 20:58:44 +08:00
kvm.h kvm: replace __KVM_HAVE_READONLY_MEM with Kconfig symbol 2024-02-08 08:41:06 -05:00
perf_regs.h LoongArch: Add perf events support 2022-10-12 16:36:14 +08:00
ptrace.h LoongArch: Add Loongson Binary Translation (LBT) extension support 2023-09-06 22:53:55 +08:00
reg.h
sigcontext.h LoongArch: Add Loongson Binary Translation (LBT) extension support 2023-09-06 22:53:55 +08:00
signal.h LoongArch: Add signal handling support 2022-06-03 20:09:28 +08:00
ucontext.h LoongArch: Add signal handling support 2022-06-03 20:09:28 +08:00
unistd.h LoongArch: Add system call support 2022-06-03 20:09:28 +08:00