Re: [RFC PATCH 5/6] accel/tcg: Restrict cpu_io_recompile() from other accelerators

2021-01-20 Thread Richard Henderson
On 1/17/21 6:48 AM, Philippe Mathieu-Daudé wrote: > As cpu_io_recompile() is only called within TCG accelerator > in cputlb.c, declare it locally. > > Signed-off-by: Philippe Mathieu-Daudé > --- > RFC because not sure if other accelerator could implement this. > --- > accel/tcg/internal.h| 2

Re: [RFC PATCH 5/6] accel/tcg: Restrict cpu_io_recompile() from other accelerators

2021-01-18 Thread Claudio Fontana
On 1/17/21 5:48 PM, Philippe Mathieu-Daudé wrote: > As cpu_io_recompile() is only called within TCG accelerator > in cputlb.c, declare it locally. > > Signed-off-by: Philippe Mathieu-Daudé It's only used in accel/tcg/cputlb.c, should it be a static function there? > --- > RFC because not sure

[RFC PATCH 5/6] accel/tcg: Restrict cpu_io_recompile() from other accelerators

2021-01-17 Thread Philippe Mathieu-Daudé
As cpu_io_recompile() is only called within TCG accelerator in cputlb.c, declare it locally. Signed-off-by: Philippe Mathieu-Daudé --- RFC because not sure if other accelerator could implement this. --- accel/tcg/internal.h| 2 ++ include/exec/exec-all.h | 1 - 2 files changed, 2 insertions(