diff options
author | Tianrui Zhao <zhaotianrui@loongson.cn> | 2023-10-02 04:01:29 +0200 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-10-02 04:01:29 +0200 |
commit | c1fc48aad14dbe7654f5986afb906332b528d54b (patch) | |
tree | d90486f1d59b14232a370b15d854a8a64e4dbfdd /arch/loongarch/Kbuild | |
parent | LoongArch: KVM: Implement vcpu world switch (diff) | |
download | linux-c1fc48aad14dbe7654f5986afb906332b528d54b.tar.xz linux-c1fc48aad14dbe7654f5986afb906332b528d54b.zip |
LoongArch: KVM: Enable kvm config and add the makefile
Enable LoongArch kvm config and add the makefile to support build kvm
module.
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Tested-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/Kbuild')
-rw-r--r-- | arch/loongarch/Kbuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/loongarch/Kbuild b/arch/loongarch/Kbuild index b01f5cdb27e0..beb8499dd8ed 100644 --- a/arch/loongarch/Kbuild +++ b/arch/loongarch/Kbuild @@ -3,5 +3,7 @@ obj-y += mm/ obj-y += net/ obj-y += vdso/ +obj-$(CONFIG_KVM) += kvm/ + # for cleaning subdir- += boot |