[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/5] tcg: Remove duplicate #if !defined(CODE_ACC
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH 4/5] tcg: Remove duplicate #if !defined(CODE_ACCESS) |
Date: |
Tue, 09 Jul 2019 11:11:49 +0100 |
User-agent: |
mu4e 1.3.2; emacs 26.1 |
Richard Henderson <address@hidden> writes:
> This code block is already surrounded by #ifndef CODE_ACCESS.
>
> Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
> ---
> include/exec/cpu_ldst_useronly_template.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/exec/cpu_ldst_useronly_template.h
> b/include/exec/cpu_ldst_useronly_template.h
> index 8c7a2c6cd7..d663826ac2 100644
> --- a/include/exec/cpu_ldst_useronly_template.h
> +++ b/include/exec/cpu_ldst_useronly_template.h
> @@ -118,11 +118,9 @@ static inline void
> glue(glue(cpu_st, SUFFIX), MEMSUFFIX)(CPUArchState *env, abi_ptr ptr,
> RES_TYPE v)
> {
> -#if !defined(CODE_ACCESS)
> trace_guest_mem_before_exec(
> env_cpu(env), ptr,
> trace_mem_build_info(SHIFT, false, MO_TE, true));
> -#endif
> glue(glue(st, SUFFIX), _p)(g2h(ptr), v);
> }
--
Alex Bennée
- [Qemu-devel] [PATCH 0/5] tcg: Fix mmap_lock assertion failure, take 2, Richard Henderson, 2019/07/09
- [Qemu-devel] [PATCH 4/5] tcg: Remove duplicate #if !defined(CODE_ACCESS), Richard Henderson, 2019/07/09
- Re: [Qemu-devel] [PATCH 4/5] tcg: Remove duplicate #if !defined(CODE_ACCESS),
Alex Bennée <=
- [Qemu-devel] [PATCH 3/5] tcg: Remove cpu_ld*_code_ra, Richard Henderson, 2019/07/09
- [Qemu-devel] [PATCH 5/5] tcg: Release mmap_lock on translation fault, Richard Henderson, 2019/07/09
- Re: [Qemu-devel] [PATCH 0/5] tcg: Fix mmap_lock assertion failure, take 2, no-reply, 2019/07/09