Re: [PATCH v2] rust: time: Avoid 64-bit integer division on 32-bit architectures
From: Andreas Hindborg
Date: Tue Jun 17 2025 - 06:39:41 EST
On Fri, 02 May 2025 09:45:24 +0900, FUJITA Tomonori wrote:
> Avoid 64-bit integer division that 32-bit architectures don't
> implement generally. This uses ktime_to_us() and ktime_to_ms()
> instead.
>
> The time abstraction needs i64 / u32 division so C's div_s64() can be
> used but ktime_to_us() and ktime_to_ms() provide a simpler solution
> for this time abstraction problem on 32-bit architectures.
>
> [...]
Applied, thanks!
[1/1] rust: time: Avoid 64-bit integer division on 32-bit architectures
commit: 1b7bbd5975279a1cf8d907fbc719f350031194c2
Best regards,
--
Andreas Hindborg <a.hindborg@xxxxxxxxxx>