[PATCH v2 1/2] pwm: add microchip soft ip corePWM driver

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Jun 14 05:13:12 PDT 2022


On Tue, Jun 14, 2022 at 10:34:00AM +0000, Conor.Dooley at microchip.com wrote:
> >     xtensa-linux-ld: drivers/pwm/pwm-microchip-core.o: in function `mchp_core_pwm_enable.isra.0':
> >>> pwm-microchip-core.c:(.text+0x380): undefined reference to `__udivdi3'
> >     xtensa-linux-ld: drivers/pwm/pwm-microchip-core.o: in function `mchp_core_pwm_apply':
> >     pwm-microchip-core.c:(.text+0x586): undefined reference to `__udivdi3'
> 
> I assume this is me using functions that are only defined for 64 bit...

This is usually a division with variables > int.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20220614/a1489f3f/attachment.sig>


More information about the linux-riscv mailing list