diff options
author | Andy Shevchenko <[email protected]> | 2024-04-29 14:17:07 +0300 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-05-03 12:12:16 +0200 |
commit | bbe1e78ae23e7e474401880d0d496acc8cec6863 (patch) | |
tree | 88dac2807db29d33c1ba0d74ef7d869c1e65c12f /lib/sbitmap.c | |
parent | 5dc72c8a146ddcfc568265c8088e90d8e996d340 (diff) |
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 <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions