Skip to content

Commit 494b079

Browse files
Dandan Zhangchenhuacai
authored andcommitted
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 <[email protected]> Signed-off-by: Wentao Guan <[email protected]> Signed-off-by: Dandan Zhang <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent 296b03c commit 494b079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/loongarch/include/asm/kvm_para.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ struct kvm_steal_time {
3939
* Hypercall interface for KVM hypervisor
4040
*
4141
* a0: function identifier
42-
* a1-a6: args
42+
* a1-a5: args
4343
* Return value will be placed in a0.
44-
* Up to 6 arguments are passed in a1, a2, a3, a4, a5, a6.
44+
* Up to 5 arguments are passed in a1, a2, a3, a4, a5.
4545
*/
4646
static __always_inline long kvm_hypercall0(u64 fid)
4747
{

0 commit comments

Comments
 (0)