]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amd/iommu: Make protection domain ID functions non-static
authorSairaj Kodilkar <sarunkod@amd.com>
Fri, 21 Nov 2025 09:11:16 +0000 (14:41 +0530)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Dec 2025 10:23:49 +0000 (11:23 +0100)
commitc7fe9384c85d31e35bb61574d7a742ba59fb27c3
treedbd0b7c85d36bbb768b471a5b95f368635d58464
parentc2e8dc1222c2136e714d5d972dce7e64924e4ed8
amd/iommu: Make protection domain ID functions non-static

So that both iommu.c and init.c can utilize them. Also define a new
function 'pdom_id_destroy()' to destroy 'pdom_ids' instead of directly
calling ida functions.

Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd/amd_iommu.h
drivers/iommu/amd/init.c
drivers/iommu/amd/iommu.c