summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorChaithanya Lagisetty <nagachaithanya9911@gmail.com>2026-09-04 21:44:53 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-09-04 21:44:53 +0800
commit4af22177032ab2357bf551fbfcdebc8fd9f2502d (patch)
tree7d90499c50972e5c3aaea2c1dfdc4cd15dff56d7 /scripts/Makefile.thinlto
parentf7a1064cce3b100b54780c68529176232d8eb01e (diff)
downloadlinux-4af22177032ab2357bf551fbfcdebc8fd9f2502d.tar.gz
linux-4af22177032ab2357bf551fbfcdebc8fd9f2502d.zip
LoongArch: KVM: Add unregister helpers for the KVM interrupt devices
The IPI/EIOINTC/PCH-PIC/DMSINTC KVM devices each have a helper that registers their kvm_device_ops, but there is no counterpart to remove them, so a caller that needs to undo a registration has to open-code kvm_unregister_device_ops() with the matching device type. Add kvm_loongarch_unregister_{ipi,eiointc,pch_pic,dmsintc}_device() next to the existing register helpers. kvm_unregister_device_ops() is a no-op when the corresponding device type is not currently registered. No functional change, as there are no callers yet. Cc: stable@vger.kernel.org Suggested-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Chaithanya Lagisetty <nagachaithanya9911@gmail.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions