diff options
| author | Wei Wang <wei.w.wang@hotmail.com> | 2026-04-21 18:00:38 +0800 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-05-11 10:05:49 +0200 |
| commit | c6580699ffcd44941eaec895d6b5cc2c338d27bd (patch) | |
| tree | 3664b2f58a696201973a6d1dfeaa4fdbc687b6d2 /drivers | |
| parent | 5beda8cadb1f072140e58b1edb7604444a42d955 (diff) | |
iommu/amd: Remove unused IOMMU_IN/OUT_ADDR_BIT_SIZE macros
The macros IOMMU_IN/OUT_ADDR_BIT_SIZE became unused after commit
2fdf6db436e3 ("iommu/amd: Remove AMD io_pgtable support"), which removed
the last references in io_pgtable.c and io_pgtable_v2.c. Remove them to
clean up unused definitions.
Signed-off-by: Wei Wang <wei.w.wang@hotmail.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/iommu/amd/amd_iommu_types.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iommu/amd/amd_iommu_types.h b/drivers/iommu/amd/amd_iommu_types.h index 9fc9e8f0887a..96038b2e24d5 100644 --- a/drivers/iommu/amd/amd_iommu_types.h +++ b/drivers/iommu/amd/amd_iommu_types.h @@ -300,9 +300,6 @@ #define GA_GUEST_NR 0x1 -#define IOMMU_IN_ADDR_BIT_SIZE 52 -#define IOMMU_OUT_ADDR_BIT_SIZE 52 - /* * This bitmap is used to advertise the page sizes our hardware support * to the IOMMU core, which will then use this information to split |
