diff options
author | JianChunfu <jansef.jian@hj-micro.com> | 2025-02-14 15:20:29 +0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-07-25 10:35:18 +0100 |
commit | bd52d8bc9e01dcf68731dcdd9d2b8ebcb9fc5692 (patch) | |
tree | 6ac764f0ea84f09b318e191b4fbe6c155ea66421 | |
parent | 7428c46c06b4365ee5131dcdcc3da218c5e99ddd (diff) | |
download | qemu-bd52d8bc9e01dcf68731dcdd9d2b8ebcb9fc5692.zip qemu-bd52d8bc9e01dcf68731dcdd9d2b8ebcb9fc5692.tar.gz qemu-bd52d8bc9e01dcf68731dcdd9d2b8ebcb9fc5692.tar.bz2 |
hw/arm/smmu-common: Avoid using inlined functions with external linkage
Similarly to commit 9de9fa5c ("hw/arm/smmu-common: Avoid using
inlined functions with external linkage"):
None of our code base require / use inlined functions with external
linkage. Some places use internal inlining in the hot path. These
two functions are certainly not in any hot path and don't justify
any inlining, so these are likely oversights rather than intentional.
Fixes: b8fa4c23 (hw/arm/smmu: Support nesting in the rest of commands)
Signed-off-by: JianChunfu <jansef.jian@hj-micro.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | hw/arm/smmu-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/smmu-common.c b/hw/arm/smmu-common.c index f39b99e..0dcaf2f 100644 --- a/hw/arm/smmu-common.c +++ b/hw/arm/smmu-common.c @@ -319,7 +319,7 @@ void smmu_iotlb_inv_vmid(SMMUState *s, int vmid) g_hash_table_foreach_remove(s->iotlb, smmu_hash_remove_by_vmid, &vmid); } -inline void smmu_iotlb_inv_vmid_s1(SMMUState *s, int vmid) +void smmu_iotlb_inv_vmid_s1(SMMUState *s, int vmid) { trace_smmu_iotlb_inv_vmid_s1(vmid); g_hash_table_foreach_remove(s->iotlb, smmu_hash_remove_by_vmid_s1, &vmid); |