Skip to content

Commit

Permalink
LoongArch: KVM: Remove undefined a6 argument comment for kvm_hypercall()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dandan Zhang authored and chenhuacai committed Aug 5, 2024
1 parent ff88c03 commit 9572e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/loongarch/include/asm/kvm_para.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9572e48

Please sign in to comment.