mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06:00
hw/arm/smmu-common: Reduce smmu_inv_notifiers_mr() scope
This function is not used anywhere outside this file, so we can make the function "static void". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-id: 20221216214924.4711-2-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
bc6bd20ee3
commit
1e793dd696
2 changed files with 1 additions and 4 deletions
|
@ -483,7 +483,7 @@ static void smmu_unmap_notifier_range(IOMMUNotifier *n)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unmap all notifiers attached to @mr */
|
/* Unmap all notifiers attached to @mr */
|
||||||
inline void smmu_inv_notifiers_mr(IOMMUMemoryRegion *mr)
|
static void smmu_inv_notifiers_mr(IOMMUMemoryRegion *mr)
|
||||||
{
|
{
|
||||||
IOMMUNotifier *n;
|
IOMMUNotifier *n;
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,4 @@ void smmu_iotlb_inv_iova(SMMUState *s, int asid, dma_addr_t iova,
|
||||||
/* Unmap the range of all the notifiers registered to any IOMMU mr */
|
/* Unmap the range of all the notifiers registered to any IOMMU mr */
|
||||||
void smmu_inv_notifiers_all(SMMUState *s);
|
void smmu_inv_notifiers_all(SMMUState *s);
|
||||||
|
|
||||||
/* Unmap the range of all the notifiers registered to @mr */
|
|
||||||
void smmu_inv_notifiers_mr(IOMMUMemoryRegion *mr);
|
|
||||||
|
|
||||||
#endif /* HW_ARM_SMMU_COMMON_H */
|
#endif /* HW_ARM_SMMU_COMMON_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue