[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3c16b98f113fa8918c879a16580811556b0c35c1.camel@codeconstruct.com.au>
Date: Tue, 18 Mar 2025 11:00:21 +1030
From: Andrew Jeffery <andrew@...econstruct.com.au>
To: Arnd Bergmann <arnd@...nel.org>, Wim Van Sebroeck
<wim@...ux-watchdog.org>, Guenter Roeck <linux@...ck-us.net>, Joel Stanley
<joel@....id.au>, Chin-Ting Kuo <chin-ting_kuo@...eedtech.com>
Cc: Arnd Bergmann <arnd@...db.de>, linux-watchdog@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-aspeed@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] watchdog: aspeed: fix 64-bit division
On Fri, 2025-03-14 at 17:02 +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> On 32-bit architectures, the new calculation causes a build failure:
>
> ld.lld-21: error: undefined symbol: __aeabi_uldivmod
>
> Since neither value is ever larger than a register, cast both
> sides into a uintptr_t.
>
> Fixes: 5c03f9f4d362 ("watchdog: aspeed: Update bootstatus handling")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Reviewed-by: Andrew Jeffery <andrew@...econstruct.com.au>
Thanks,
Andrew
Powered by blists - more mailing lists