qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v9 03/32] accel/tcg: rename tcg-cpus functions to match module


From: Alex Bennée
Subject: Re: [RFC v9 03/32] accel/tcg: rename tcg-cpus functions to match module name
Date: Wed, 09 Dec 2020 09:10:38 +0000
User-agent: mu4e 1.5.7; emacs 28.0.50

Claudio Fontana <cfontana@suse.de> writes:

> Signed-off-by: Claudio Fontana <cfontana@suse.de>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  accel/tcg/tcg-cpus-icount.c | 24 ++++++------
>  accel/tcg/tcg-cpus-icount.h |  6 +--
>  accel/tcg/tcg-cpus-mttcg.c  | 10 ++---
>  accel/tcg/tcg-cpus-rr.c     | 74 ++++++++++++++++++-------------------
>  accel/tcg/tcg-cpus-rr.h     |  2 +-
>  accel/tcg/tcg-cpus.c        |  6 +--
>  accel/tcg/tcg-cpus.h        |  6 +--
>  7 files changed, 64 insertions(+), 64 deletions(-)
>
> diff --git a/accel/tcg/tcg-cpus-icount.c b/accel/tcg/tcg-cpus-icount.c
> index 82dbe2cacf..9f45432275 100644
> --- a/accel/tcg/tcg-cpus-icount.c
> +++ b/accel/tcg/tcg-cpus-icount.c
> @@ -36,7 +36,7 @@
>  #include "tcg-cpus-icount.h"
>  #include "tcg-cpus-rr.h"
>  
> -static int64_t tcg_get_icount_limit(void)
> +static int64_t icount_get_limit(void)
>  {
>      int64_t deadline;
>  
> @@ -68,37 +68,37 @@ static int64_t tcg_get_icount_limit(void)
>      }
>  }
>  
> -static void notify_aio_contexts(void)
> +static void icount_notify_aio_contexts(void)
>  {
>      /* Wake up other AioContexts.  */
>      qemu_clock_notify(QEMU_CLOCK_VIRTUAL);
>      qemu_clock_run_timers(QEMU_CLOCK_VIRTUAL);
>  }

nit: for static functions it's probably overkill but whatever...

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée



reply via email to

[Prev in Thread] Current Thread [Next in Thread]