accel/tcg: Constify various helpers
A message that is not in the archive (sent off-list or not yet received): [email protected]
Richard Henderson
Reviewed-byQuoted 12 lines · Philippe Mathieu-Daudé
Constify argument in preparation of constifying CPUClass helpers.
Philippe Mathieu-Daudé (8):
accel/tcg: Constifycurr_cflags()accel/tcg: Constifytcg_cflags_has()accel/tcg: Constifycpu_in_serial_context()accel/tcg: Consfitytlb_index()andtlb_entry()accel/tcg: Constifytlb_hit_page_anyprot()accel/tcg: Constifysizeof_tlb()andtlb_n_entries()accel/tcg: Constifytranslator_use_goto_tb()accel/tcg: Constify tbencode_search()
Quoted 9 lines
accel/tcg/internal-common.h | 4 ++-- include/exec/translation-block.h | 2 +- include/exec/translator.h | 2 +- accel/tcg/cpu-exec.c | 4 ++-- accel/tcg/cputlb.c | 13 +++++++------ accel/tcg/translate-all.c | 4 ++-- accel/tcg/translator.c | 2 +- 7 files changed, 16 insertions(+), 15 deletions(-)
Reviewed-by Richard Henderson <[email protected]>
r~