summaryrefslogtreecommitdiff
path: root/drivers/iommu/arm
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2021-06-10 10:31:20 +0200
committerJoerg Roedel <jroedel@suse.de>2021-06-10 10:33:14 +0200
commitd6a9642bd673dd0bb2839274fe83eaa979b9207e (patch)
treec9c599a41b28a97735894d6d3f35a5b65238a52b /drivers/iommu/arm
parent7a0f06c197cb5e2106da8507b5610c1bb9c7daac (diff)
iommu/vt-d: Fix linker error on 32-bit
A recent commit broke the build on 32-bit x86. The linker throws these messages: ld: drivers/iommu/intel/perf.o: in function `dmar_latency_snapshot': perf.c:(.text+0x40c): undefined reference to `__udivdi3' ld: perf.c:(.text+0x458): undefined reference to `__udivdi3' The reason are the 64-bit divides in dmar_latency_snapshot(). Use the div_u64() helper function for those. Fixes: 55ee5e67a59a ("iommu/vt-d: Add common code for dmar latency performance monitors") Signed-off-by: Joerg Roedel <jroedel@suse.de> Link: https://lore.kernel.org/r/20210610083120.29224-1-joro@8bytes.org
Diffstat (limited to 'drivers/iommu/arm')
0 files changed, 0 insertions, 0 deletions