Skip to content

Commit 590d2f9

Browse files
kjain101mpe
authored andcommitted
KVM: PPC: Book3S HV: Fix kmv -> kvm typo
Fix typo in the following kvm function names from: kmvhv_counters_tracepoint_regfunc -> kvmhv_counters_tracepoint_regfunc kmvhv_counters_tracepoint_unregfunc -> kvmhv_counters_tracepoint_unregfunc Fixes: e1f288d ("KVM: PPC: Book3S HV nestedv2: Add support for reading VPA counters for pseries guests") Reported-by: Madhavan Srinivasan <[email protected]> Reviewed-by: Ritesh Harjani (IBM) <[email protected]> Reviewed-by: Amit Machhiwal <[email protected]> Signed-off-by: Kajol Jain <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 26686db commit 590d2f9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

arch/powerpc/include/asm/kvm_book3s_64.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,8 @@ int kvmhv_nestedv2_set_ptbl_entry(unsigned long lpid, u64 dw0, u64 dw1);
684684
int kvmhv_nestedv2_parse_output(struct kvm_vcpu *vcpu);
685685
int kvmhv_nestedv2_set_vpa(struct kvm_vcpu *vcpu, unsigned long vpa);
686686

687-
int kmvhv_counters_tracepoint_regfunc(void);
688-
void kmvhv_counters_tracepoint_unregfunc(void);
687+
int kvmhv_counters_tracepoint_regfunc(void);
688+
void kvmhv_counters_tracepoint_unregfunc(void);
689689
int kvmhv_get_l2_counters_status(void);
690690
void kvmhv_set_l2_counters_status(int cpu, bool status);
691691

arch/powerpc/kvm/book3s_hv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4130,7 +4130,7 @@ void kvmhv_set_l2_counters_status(int cpu, bool status)
41304130
lppaca_of(cpu).l2_counters_enable = 0;
41314131
}
41324132

4133-
int kmvhv_counters_tracepoint_regfunc(void)
4133+
int kvmhv_counters_tracepoint_regfunc(void)
41344134
{
41354135
int cpu;
41364136

@@ -4140,7 +4140,7 @@ int kmvhv_counters_tracepoint_regfunc(void)
41404140
return 0;
41414141
}
41424142

4143-
void kmvhv_counters_tracepoint_unregfunc(void)
4143+
void kvmhv_counters_tracepoint_unregfunc(void)
41444144
{
41454145
int cpu;
41464146

arch/powerpc/kvm/trace_hv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ TRACE_EVENT_FN_COND(kvmppc_vcpu_stats,
538538
TP_printk("VCPU %d: l1_to_l2_cs_time=%llu ns l2_to_l1_cs_time=%llu ns l2_runtime=%llu ns",
539539
__entry->vcpu_id, __entry->l1_to_l2_cs,
540540
__entry->l2_to_l1_cs, __entry->l2_runtime),
541-
kmvhv_counters_tracepoint_regfunc, kmvhv_counters_tracepoint_unregfunc
541+
kvmhv_counters_tracepoint_regfunc, kvmhv_counters_tracepoint_unregfunc
542542
);
543543
#endif
544544
#endif /* _TRACE_KVM_HV_H */

0 commit comments

Comments
 (0)