[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 3/8] timer: make timers_state static
From: |
Liu Ping Fan |
Subject: |
[Qemu-devel] [RFC 3/8] timer: make timers_state static |
Date: |
Sun, 21 Jul 2013 16:43:00 +0800 |
Signed-off-by: Liu Ping Fan <address@hidden>
---
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)
--
1.8.1.4
- [Qemu-devel] [RFC 0/8] arm AioContext with its own timer stuff, Liu Ping Fan, 2013/07/21
- [Qemu-devel] [RFC 1/8] timer: associate alarm_timer with AioContext, Liu Ping Fan, 2013/07/21
- [Qemu-devel] [RFC 2/8] timer: pick out timer list info from QemuClock, Liu Ping Fan, 2013/07/21
- [Qemu-devel] [RFC 3/8] timer: make timers_state static,
Liu Ping Fan <=
- [Qemu-devel] [RFC 4/8] timer: protect timers_state with lock, Liu Ping Fan, 2013/07/21
- [Qemu-devel] [RFC 5/8] timer: associate timer with AioContext, Liu Ping Fan, 2013/07/21
- [Qemu-devel] [RFC 6/8] timer: run timers on aio_poll, Liu Ping Fan, 2013/07/21
- [Qemu-devel] [RFC 7/8] block: associate BlockDriverState with AioContext, Liu Ping Fan, 2013/07/21