[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/12] linux-user: Remove #if 0'd cpu_get_real_t
From: |
Riku Voipio |
Subject: |
Re: [Qemu-devel] [PATCH 06/12] linux-user: Remove #if 0'd cpu_get_real_ticks() definition |
Date: |
Fri, 14 Sep 2012 12:31:51 +0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Sep 14, 2012 at 09:42:20AM +0100, Stefan Hajnoczi wrote:
> From: Peter Maydell <address@hidden>
>
> 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 <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
Acked-by: Riku Voipio <address@hidden>
> ---
> linux-user/main.c | 13 -------------
> 1 file changed, 13 deletions(-)
>
> diff --git a/linux-user/main.c b/linux-user/main.c
> index 1a1c661..e84a18c 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. */
> --
> 1.7.10.4
>
- [Qemu-devel] [PULL 00/12] Trivial patches for 16 August to 14 September 2012, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 01/12] srp: Don't use QEMU_PACKED for single elements of a structured type, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 05/12] ui: Fix spelling in comment (ressource -> resource), Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 02/12] Spelling fixes in comments and documentation, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 04/12] Spelling fixes in comments and macro names (ressource -> resource), Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 03/12] Fix spelling (licenced -> licensed) in GPL, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 06/12] linux-user: Remove #if 0'd cpu_get_real_ticks() definition, Stefan Hajnoczi, 2012/09/14
- Re: [Qemu-devel] [PATCH 06/12] linux-user: Remove #if 0'd cpu_get_real_ticks() definition,
Riku Voipio <=
- [Qemu-devel] [PATCH 07/12] Fix copy&paste typos in documentation comments, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 08/12] console: Clean up bytes per pixel calculation, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 10/12] kvm: Fix warning from static code analysis, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 12/12] configure: fix seccomp check, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 09/12] qapi: Fix enumeration typo error, Stefan Hajnoczi, 2012/09/14
- [Qemu-devel] [PATCH 11/12] arch_init.c: add missing '%' symbols before PRIu64 in debug printfs, Stefan Hajnoczi, 2012/09/14
- Re: [Qemu-devel] [PULL 00/12] Trivial patches for 16 August to 14 September 2012, Anthony Liguori, 2012/09/17