]> 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)
commite8043cc4bf739e4f2bbf24cf29b6e6063eaca43b
tree672c1602803578955d58003e8568e36eb5a095e1
parentd9f0895a376d0b8859cc00ea0786718ac97f49c8
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: 4c526f74053e ("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