X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=drivers%2Fiommu%2Famd_iommu.c;h=a5bee8e2dfce7904b637f8fd3d9871c75b7824a5;hb=58bca4a8fa90fcf9069379653b396b2cec642f7f;hp=daa333f97b78ba8f7989f900e1babb2fb0d86e8d;hpb=64d70fe5d3640e1a89790ed21120921278f8cb86;p=linux.git diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index daa333f97b78..a5bee8e2dfce 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -2806,7 +2806,7 @@ static int amd_iommu_dma_supported(struct device *dev, u64 mask) * we don't need to preallocate the protection domains anymore. * For now we have to. */ -static void prealloc_protection_domains(void) +static void __init prealloc_protection_domains(void) { struct iommu_dev_data *dev_data; struct dma_ops_domain *dma_dom;