diff options
author | Anton Johansson <anjo@rev.ng> | 2023-09-13 18:57:20 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-04 11:03:54 -0700 |
commit | 623912cc140c8778edb1e8f1e29853b1256866cb (patch) | |
tree | 0717a934b81186a9ef17f49ee12238a233a30677 /include | |
parent | 73fda56f33151331b86bba5f6d1fbd001902776b (diff) | |
download | qemu-623912cc140c8778edb1e8f1e29853b1256866cb.zip qemu-623912cc140c8778edb1e8f1e29853b1256866cb.tar.gz qemu-623912cc140c8778edb1e8f1e29853b1256866cb.tar.bz2 |
accel/tcg: Remove env_tlb()
The function is no longer used to access the TLB,
and has been replaced by cpu->neg.tlb.
Signed-off-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230912153428.17816-9-anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[rth: Merge comment update patch]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/cpu-all.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 46e494e..17c7420 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -449,15 +449,4 @@ static inline CPUState *env_cpu(CPUArchState *env) return (void *)env - sizeof(CPUState); } -/** - * env_tlb(env) - * @env: The architecture environment - * - * Return the CPUTLB state associated with the environment. - */ -static inline CPUTLB *env_tlb(CPUArchState *env) -{ - return &env_cpu(env)->neg.tlb; -} - #endif /* CPU_ALL_H */ |