lkml.org 
[lkml]   [2021]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next] ptp: clockmatrix: use rsmu driver to access i2c/spi bus
On Thu, 23 Sep 2021 16:29:44 +0000 Min Li wrote:
> > On Wed, 22 Sep 2021 09:57:14 -0400 min.li.xe@renesas.com wrote:
> > > From: Min Li <min.li.xe@renesas.com>
> > >
> > > rsmu (Renesas Synchronization Management Unit ) driver is located in
> > > drivers/mfd and responsible for creating multiple devices including
> > > clockmatrix phc, which will then use the exposed regmap and mutex
> > > handle to access i2c/spi bus.
> >
> > Does not build on 32 bit. You need to use division helpers.
>
> Hi Jakub
>
> I did build it through 32 bit arm and didn't get the problem.
>
> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-

We're testing x86, maybe arm32 can handle 64bit divisions natively?

ERROR: modpost: "__divdi3" [drivers/ptp/ptp_clockmatrix.ko] undefined!
ERROR: modpost: "__udivdi3" [drivers/ptp/ptp_clockmatrix.ko] undefined!

\
 
 \ /
  Last update: 2021-09-23 18:42    [W:0.047 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site