hw/arm: remove `inline` from `smmu_iotlb_inv_vmid_s1`
PATCH 1/1 hw/arm: remove `inline` from `smmu_iotlb_inv_vmid_s1`
this function is declared in smmu-common.h without inline. It is also used outside of this file which causes linking errors because the non-inline version is not generated.
--- hw/arm/smmu-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/smmu-common.c +1 -1
@@ -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);
Signature · 1 line
2.50.0.727.gbf7dc18ff4-goog
Quoted 16 lines · Roman Kiryanov
this function is declared in
smmu-common.hwithoutinline. It is also used outside of this file which causes linking errors because the non-inline version is not generated.Signed-off-by Will Hollins <[email protected]>Signed-off-by Roman Kiryanov <[email protected]>--- hw/arm/smmu-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/smmu-common.c +0
-0
hw/arm/smmu-common.c void smmu_iotlb_inv_vmid(SMMUState *s, int vmid) · line 325
Quoted 8 lines
hw/arm/smmu-common.c +1
-1@@ -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);
r~
Quoted 16 lines · Roman Kiryanov
this function is declared in
smmu-common.hwithoutinline. It is also used outside of this file which causes linking errors because the non-inline version is not generated.Signed-off-by Will Hollins <[email protected]>Signed-off-by Roman Kiryanov <[email protected]>--- hw/arm/smmu-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/smmu-common.c +0
-0
hw/arm/smmu-common.c void smmu_iotlb_inv_vmid(SMMUState *s, int vmid) · line 325
Quoted 8 lines
hw/arm/smmu-common.c +1
-1@@ -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);
Already posted (but missed):
https://lore.kernel.org/qemu-devel/[email protected]/