Subject: Re: [PATCH net-next 3/5] net/sched: taprio: fix build without 64bit div

From: Vinicius Costa Gomes <[email-masked]>
Date: Wed, 17 Apr 2019 15:32:26 -0700

Hi,

Jakub Kicinski <[email-masked]> writes:

> Recent changes to taprio did not use the correct div64 helpers,
> leading to:
>
> net/sched/sch_taprio.o: In function `taprio_dequeue':
> sch_taprio.c:(.text+0x34a): undefined reference to `__divdi3'
> net/sched/sch_taprio.o: In function `advance_sched':
> sch_taprio.c:(.text+0xa0b): undefined reference to `__divdi3'
> net/sched/sch_taprio.o: In function `taprio_init':
> sch_taprio.c:(.text+0x1450): undefined reference to `__divdi3'
> /home/jkicinski/devel/linux/Makefile:1032: recipe for target 'vmlinux' failed
>
> Use math64 helpers.
>
> Fixes: 7b9eba7ba0c1 ("net/sched: taprio: fix picos_per_byte miscalculation")
> Signed-off-by: Jakub Kicinski <[email-masked]>
> Reviewed-by: Dirk van der Merwe <[email-masked]>
> ---

Acked-by: Vinicius Costa Gomes <[email-masked]>

Cheers,
--
Vinicius