diff options
Diffstat (limited to 'hw/pc.c')
| -rw-r--r-- | hw/pc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/hw/pc.c b/hw/pc.c index 1a1f5a914b..9198210182 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -122,17 +122,7 @@ static void ioportF0_write(void *opaque, uint32_t addr, uint32_t data) /* TSC handling */ uint64_t cpu_get_tsc(CPUX86State *env) { - /* Note: when using kqemu, it is more logical to return the host TSC - because kqemu does not trap the RDTSC instruction for - performance reasons */ -#ifdef CONFIG_KQEMU - if (env->kqemu_enabled) { - return cpu_get_real_ticks(); - } else -#endif - { - return cpu_get_ticks(); - } + return cpu_get_ticks(); } /* SMM support */ |