]> git.baikalelectronics.ru Git - kernel.git/commit
ptp_qoriq: use div_u64/div_u64_rem for 64-bit division
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 6 Aug 2018 04:39:11 +0000 (12:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 17:43:35 +0000 (10:43 -0700)
commit44e4320b540ae174f518de3a642bedcf1b54946a
tree672c1602803578955d58003e8568e36eb5a095e1
parentd8db8f534d067fa68526e269ae1fffff11c2c54c
ptp_qoriq: use div_u64/div_u64_rem for 64-bit division

This is a fix-up patch for below build issue with multi_v7_defconfig.

drivers/ptp/ptp_qoriq.o: In function `qoriq_ptp_probe':
ptp_qoriq.c:(.text+0xd0c): undefined reference to `__aeabi_uldivmod'

Fixes: 4bba57c87cb3 ("ptp_qoriq: support automatic configuration for ptp timer")
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_qoriq.c