diff options
author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2016-10-13 20:53:23 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2016-11-27 19:48:47 -0500 |
commit | 908a09359ef4ed9e9ca1147b9d35f829d7e42a74 (patch) | |
tree | 69c6e1496011e215d6dad638d6f2efd372cec51a | |
parent | f4944613ad1ab6760589d5791488be1236c07fcc (diff) |
KVM: PPC: Book3S HV: Comment style and print format fixups
Fix comment block to match kernel comment style.
Fix print format from signed to unsigned.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
-rw-r--r-- | arch/powerpc/kvm/book3s_hv.c | 3 | ||||
-rw-r--r-- | arch/powerpc/kvm/trace_hv.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 0b0ca272a13c..be8f83c999f3 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c | |||
@@ -2609,7 +2609,8 @@ static void shrink_halt_poll_ns(struct kvmppc_vcore *vc) | |||
2609 | vc->halt_poll_ns /= halt_poll_ns_shrink; | 2609 | vc->halt_poll_ns /= halt_poll_ns_shrink; |
2610 | } | 2610 | } |
2611 | 2611 | ||
2612 | /* Check to see if any of the runnable vcpus on the vcore have pending | 2612 | /* |
2613 | * Check to see if any of the runnable vcpus on the vcore have pending | ||
2613 | * exceptions or are no longer ceded | 2614 | * exceptions or are no longer ceded |
2614 | */ | 2615 | */ |
2615 | static int kvmppc_vcore_check_block(struct kvmppc_vcore *vc) | 2616 | static int kvmppc_vcore_check_block(struct kvmppc_vcore *vc) |
diff --git a/arch/powerpc/kvm/trace_hv.h b/arch/powerpc/kvm/trace_hv.h index fb21990c0fb4..ebc6dd449556 100644 --- a/arch/powerpc/kvm/trace_hv.h +++ b/arch/powerpc/kvm/trace_hv.h | |||
@@ -449,7 +449,7 @@ TRACE_EVENT(kvmppc_vcore_wakeup, | |||
449 | __entry->tgid = current->tgid; | 449 | __entry->tgid = current->tgid; |
450 | ), | 450 | ), |
451 | 451 | ||
452 | TP_printk("%s time %lld ns, tgid=%d", | 452 | TP_printk("%s time %llu ns, tgid=%d", |
453 | __entry->waited ? "wait" : "poll", | 453 | __entry->waited ? "wait" : "poll", |
454 | __entry->ns, __entry->tgid) | 454 | __entry->ns, __entry->tgid) |
455 | ); | 455 | ); |