Home
last modified time | relevance | path

Searched hist:bbe1e78ae23e7e474401880d0d496acc8cec6863 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iommu/amd/
H A DKconfigdiff bbe1e78ae23e7e474401880d0d496acc8cec6863 Mon Apr 29 13:17:07 CEST 2024 Andy Shevchenko <andriy.shevchenko@linux.intel.com> iommu/amd: Fix compilation error

With WERROR=y, which is default, clang is not happy:

.../amd/pasid.c:168:3: error: call to undeclared function 'mmu_notifier_unregister'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
.../amd/pasid.c:191:8: error: call to undeclared function 'mmu_notifier_register'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2 errors generated.

Select missed dependency.

Fixes: a5a91e54846d ("iommu/amd: Add SVA domain support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240429111707.2795194-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>