summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm
diff options
context:
space:
mode:
authorDandan Zhang <zhangdandan@uniontech.com>2024-08-07 11:37:14 +0200
committerHuacai Chen <chenhuacai@loongson.cn>2024-08-07 11:37:14 +0200
commit494b0792d962e8efac72b3a5b6d9bcd4e6fa8cf0 (patch)
tree4d193093e6f7ba87cbe705d2f80ab1c6289c2baf /arch/loongarch/include/asm
parentLoongArch: KVM: Remove unnecessary definition of KVM_PRIVATE_MEM_SLOTS (diff)
downloadlinux-494b0792d962e8efac72b3a5b6d9bcd4e6fa8cf0.tar.xz
linux-494b0792d962e8efac72b3a5b6d9bcd4e6fa8cf0.zip
LoongArch: KVM: Remove undefined a6 argument comment for kvm_hypercall()
The kvm_hypercall() set for LoongArch is limited to a1-a5. So the mention of a6 in the comment is undefined that needs to be rectified. Reviewed-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Wentao Guan <guanwentao@uniontech.com> Signed-off-by: Dandan Zhang <zhangdandan@uniontech.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/include/asm')
-rw-r--r--arch/loongarch/include/asm/kvm_para.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/loongarch/include/asm/kvm_para.h b/arch/loongarch/include/asm/kvm_para.h
index 335fb86778e2..43ec61589e6c 100644
--- a/arch/loongarch/include/asm/kvm_para.h
+++ b/arch/loongarch/include/asm/kvm_para.h
@@ -39,9 +39,9 @@ struct kvm_steal_time {
* Hypercall interface for KVM hypervisor
*
* a0: function identifier
- * a1-a6: args
+ * a1-a5: args
* Return value will be placed in a0.
- * Up to 6 arguments are passed in a1, a2, a3, a4, a5, a6.
+ * Up to 5 arguments are passed in a1, a2, a3, a4, a5.
*/
static __always_inline long kvm_hypercall0(u64 fid)
{