aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ping Fan <qemulist@gmail.com>2013-07-21 08:43:00 +0000
committerMichael Tokarev <mjt@tls.msk.ru>2013-07-27 11:22:53 +0400
commitd9cd4007d5c7e877a006392eeafb2291f06d6685 (patch)
tree939e290f2b6ec6fe00a327c79dbbf95eb967aaf5
parent9220eeed62e06e115c83e6ffed24907c24c99197 (diff)
timer: make timers_state static
Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com> Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--cpus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpus.c b/cpus.c
index ca6b886592..0f65e763f2 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)