|
@@ -2804,7 +2804,7 @@ static int amd_iommu_dma_supported(struct device *dev, u64 mask)
|
|
* we don't need to preallocate the protection domains anymore.
|
|
* we don't need to preallocate the protection domains anymore.
|
|
* For now we have to.
|
|
* 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 iommu_dev_data *dev_data;
|
|
struct dma_ops_domain *dma_dom;
|
|
struct dma_ops_domain *dma_dom;
|