summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-08-20 14:03:36 +0100
committerStefan Hajnoczi <stefanha@gmail.com>2012-09-14 08:21:28 +0100
commit7b1532eccf63eae318f9116adfd4cc2ba51e31fd (patch)
treead8c1f142113c5bbef088719bf4293b0ca9c735d
parent4580c490107ec846fb1ec63be823cf65dbb19f73 (diff)
linux-user: Remove #if 0'd cpu_get_real_ticks() definition
Remove the cpu_get_real_ticks() definition from linux-user/main.c. This has been disabled via #if 0 and unused since commit 1dce7c3c22 in 2006; the definitions we actually use are in qemu-timer.h. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r--linux-user/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 1a1c661ee4..e84a18c33c 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -89,19 +89,6 @@ int cpu_get_pic_interrupt(CPUX86State *env)
}
#endif
-/* timers for rdtsc */
-
-#if 0
-
-static uint64_t emu_time;
-
-int64_t cpu_get_real_ticks(void)
-{
- return emu_time++;
-}
-
-#endif
-
#if defined(CONFIG_USE_NPTL)
/***********************************************************/
/* Helper routines for implementing atomic operations. */