From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bLU6p-0004Uc-89 for mharc-qemu-trivial@gnu.org; Fri, 08 Jul 2016 07:38:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLU6n-0004T5-98 for qemu-trivial@nongnu.org; Fri, 08 Jul 2016 07:38:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLU6l-0000pg-Ee for qemu-trivial@nongnu.org; Fri, 08 Jul 2016 07:38:12 -0400 Received: from [59.151.112.132] (port=26149 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLU6g-0000o7-Kg; Fri, 08 Jul 2016 07:38:07 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="8524003" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 08 Jul 2016 19:37:58 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id 2AD1041C0BAA; Fri, 8 Jul 2016 19:37:53 +0800 (CST) Received: from [10.167.226.69] (10.167.226.69) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.279.2; Fri, 8 Jul 2016 19:37:52 +0800 To: References: <1467973897-13734-1-git-send-email-caoj.fnst@cn.fujitsu.com> CC: Paolo Bonzini , , , From: Cao jin Message-ID: <577F9229.2010806@cn.fujitsu.com> Date: Fri, 8 Jul 2016 19:44:41 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1467973897-13734-1-git-send-email-caoj.fnst@cn.fujitsu.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.69] X-yoursite-MailScanner-ID: 2AD1041C0BAA.ABC68 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: caoj.fnst@cn.fujitsu.com X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 59.151.112.132 Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] timer/cpus: fix some typos and update some comments X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 11:38:14 -0000 cc to Paolo On 07/08/2016 06:31 PM, Cao jin wrote: > Signed-off-by: Cao jin > --- > 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..d4afd93 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 serve 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 serve as mutex for vm_clock_seqlock. > */ > void cpu_disable_ticks(void) > { > diff --git a/include/qemu/timer.h b/include/qemu/timer.h > index 7fea97f..930b5d3 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; > -- Yours Sincerely, Cao jin