I should read more carefully. The patch is for timespec_add_ns() , and you have the functions gem_rxmac_reset() and divide.part.4 . divide.part.4 . Probably not related to the patch you found - instead, probably the standard 64-bit div / mod functions do not have an implementation on your target platform.
Do you have a Sun GEM or Apple GMAC NIC? If not, you can simply disable this driver and get rid of the first error message.
For the second, you may need to implement a similar asm trick in the clkdev.c file - when I removed my copy for the subtraction operation, which I did not notice, but maybe you can just steal a new clkdev.c or clkdev.h to fix this problem? (This is a long snapshot, there is only one entry in git log drivers/clk/clkdev.c .)
source share