All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: qemu-devel@nongnu.org
Cc: Cao jin <caoj.fnst@cn.fujitsu.com>,
	qemu-trivial@nongnu.org, Michael Tokarev <mjt@tls.msk.ru>
Subject: [Qemu-devel] [PULL 14/16] timer/cpus: fix some typos and update some comments
Date: Tue, 13 Sep 2016 19:04:53 +0300	[thread overview]
Message-ID: <3224e8786fcbe531746f1530c37210c425625213.1473782118.git.mjt@msgid.tls.msk.ru> (raw)
In-Reply-To: <cover.1473782118.git.mjt@tls.msk.ru>
In-Reply-To: <cover.1473782118.git.mjt@tls.msk.ru>

From: Cao jin <caoj.fnst@cn.fujitsu.com>

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 cpus.c               | 6 +++---
 include/qemu/timer.h | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cpus.c b/cpus.c
index 84c3520..0ab4ab1 100644
--- a/cpus.c
+++ b/cpus.c
@@ -229,7 +229,7 @@ static int64_t cpu_get_clock_locked(void)
     return ticks;
 }
 
-/* return the host CPU monotonic timer and handle stop/restart */
+/* return the host CPU monotonic time */
 int64_t cpu_get_clock(void)
 {
     int64_t ti;
@@ -244,7 +244,7 @@ int64_t cpu_get_clock(void)
 }
 
 /* enable cpu_get_ticks()
- * Caller must hold BQL which server as mutex for vm_clock_seqlock.
+ * Caller must hold BQL which serves as mutex for vm_clock_seqlock.
  */
 void cpu_enable_ticks(void)
 {
@@ -260,7 +260,7 @@ void cpu_enable_ticks(void)
 
 /* disable cpu_get_ticks() : the clock is stopped. You must not call
  * cpu_get_ticks() after that.
- * Caller must hold BQL which server as mutex for vm_clock_seqlock.
+ * Caller must hold BQL which serves as mutex for vm_clock_seqlock.
  */
 void cpu_disable_ticks(void)
 {
diff --git a/include/qemu/timer.h b/include/qemu/timer.h
index e6c089e..4bfcd35 100644
--- a/include/qemu/timer.h
+++ b/include/qemu/timer.h
@@ -802,7 +802,7 @@ static inline int64_t get_max_clock_jump(void)
  * Low level clock functions
  */
 
-/* real time host monotonic timer */
+/* get host real time in nanosecond */
 static inline int64_t get_clock_realtime(void)
 {
     struct timeval tv;
-- 
2.1.4

  parent reply	other threads:[~2016-09-13 16:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1473782118.git.mjt@tls.msk.ru>
2016-09-13 16:04 ` [Qemu-devel] [PULL 01/16] docs: Fix description of the leaky bucket algorithm in throttle.txt Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 02/16] hw/bt/hci: spelling fix: endianness Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 03/16] hw/dma/omap: " Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 04/16] arm: spelling fix: mismatch Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 05/16] vl: remove unnecessary duplicate call to tpm_cleanup Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 06/16] sparc: Use g_memdup() instead of g_new0() + memcpy() Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 07/16] pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 08/16] linux-user, trivial: display "0x%x" instead of "0x%d" Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 09/16] trace-event: display "%d" " Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 10/16] Document that curses usually needs -k option too Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 11/16] maint: Ignore generated version file Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 12/16] timer.h: fix typo Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 13/16] timer.h: fix inconsistency between comment and function prototype Michael Tokarev
2016-09-13 16:04 ` Michael Tokarev [this message]
2016-09-13 16:04 ` [Qemu-devel] [PULL 15/16] target-m68k: fix get_mac_extf helper Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 16/16] hw/net/e1000e: Fix compiler warning Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3224e8786fcbe531746f1530c37210c425625213.1473782118.git.mjt@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=caoj.fnst@cn.fujitsu.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.