diff options
author | Will Deacon <will@kernel.org> | 2024-05-01 17:27:29 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-05-01 17:33:51 +0300 |
commit | 0928fc15f31553c7acb8117b0609799fc0f22fa5 (patch) | |
tree | e341506e604738db9958de86c5035fd2a2c6d9fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b8ca7ce709f8210c13eec022e87a12111db5d745 (diff) | |
download | linux-0928fc15f31553c7acb8117b0609799fc0f22fa5.tar.xz |
iommu/arm-smmu-qcom: Don't build debug features as a kernel module
The Qualcomm TBU debug support introduced by 414ecb030870
("iommu/arm-smmu-qcom-debug: Add support for TBUs") provides its own
driver initialisation function, which breaks the link when the core SMMU
driver is built as a module:
ld.lld: error: duplicate symbol: init_module
>>> defined at arm-smmu.c
>>> drivers/iommu/arm/arm-smmu/arm-smmu.o:(init_module)
>>> defined at arm-smmu-qcom-debug.c
>>> drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.o:(.init.text+0x4)
Since we're late in the cycle, just make the debug features depend on a
non-modular SMMU driver for now while the initialisation is reworked to
hang off qcom_smmu_impl_init().
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions