d6a9642bd6
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:
|
||
---|---|---|
.. | ||
cap_audit.c | ||
cap_audit.h | ||
debugfs.c | ||
dmar.c | ||
iommu.c | ||
irq_remapping.c | ||
Kconfig | ||
Makefile | ||
pasid.c | ||
pasid.h | ||
perf.c | ||
perf.h | ||
svm.c | ||
trace.c |