From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V19jP-0001TH-GB for qemu-devel@nongnu.org; Mon, 22 Jul 2013 02:36:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V19jO-0005DR-IB for qemu-devel@nongnu.org; Mon, 22 Jul 2013 02:36:27 -0400 Message-ID: <51ECD2E2.2070000@siemens.com> Date: Mon, 22 Jul 2013 08:36:18 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1374396185-10870-1-git-send-email-pingfank@linux.vnet.ibm.com> <1374396185-10870-4-git-send-email-pingfank@linux.vnet.ibm.com> In-Reply-To: <1374396185-10870-4-git-send-email-pingfank@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 3/8] timer: make timers_state static List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Ping Fan Cc: Kevin Wolf , Stefan Hajnoczi , qemu-trivial , qemu-devel@nongnu.org, Alex Bligh , Anthony Liguori , Paolo Bonzini On 2013-07-21 10:43, Liu Ping Fan wrote: > Signed-off-by: Liu Ping Fan > --- > cpus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cpus.c b/cpus.c > index 61e86a8..4254ca9 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -112,7 +112,7 @@ typedef struct TimersState { > int64_t dummy; > } TimersState; > > -TimersState timers_state; > +static TimersState timers_state; > > /* Return the virtual CPU time, based on the instruction counter. */ > int64_t cpu_get_icount(void) > Could go in directly via trivial IMHO. Reviewed-by: Jan Kiszka -- Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux