[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1baf9a7f-b0e4-45d8-ac57-0727a213d82d@app.fastmail.com>
Date: Mon, 04 Mar 2024 12:26:46 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Andre Przywara" <andre.przywara@....com>
Cc: "Naresh Kamboju" <naresh.kamboju@...aro.org>,
"open list" <linux-kernel@...r.kernel.org>,
"Linux ARM" <linux-arm-kernel@...ts.infradead.org>,
linux-sunxi@...ts.linux.dev, dri-devel@...ts.freedesktop.org,
lkft-triage@...ts.linaro.org, "Maxime Ripard" <mripard@...nel.org>,
"Dave Airlie" <airlied@...hat.com>,
"Dan Carpenter" <dan.carpenter@...aro.org>,
"Ard Biesheuvel" <ardb@...nel.org>
Subject: Re: arm: ERROR: modpost: "__aeabi_uldivmod"
[drivers/gpu/drm/sun4i/sun4i-drm-hdmi.ko] undefined!
On Mon, Mar 4, 2024, at 12:24, Andre Przywara wrote:
> On Mon, 04 Mar 2024 12:11:36 +0100 "Arnd Bergmann" <arnd@...db.de> wrote:
>>
>> This used to be a 32-bit division. If the rate is never more than
>> 4.2GHz, clock could be turned back into 'unsigned long' to avoid
>> the expensive div_u64().
>
> Wouldn't "div_u64(clock, 200)" solve this problem?
Yes, that's why I mentioned it as the worse of the two obvious
solutions. ;-)
Arnd
Powered by blists - more mailing lists