From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0778100369557192700==" MIME-Version: 1.0 From: Daejun Park To: kbuild-all@lists.01.org Subject: Re: [PATCH v9 2/4] scsi: ufs: Introduce HPB feature Date: Tue, 01 Sep 2020 09:06:17 +0900 Message-ID: <963815509.21598919001965.JavaMail.epsvc@epcpadp1> In-Reply-To: List-Id: --===============0778100369557192700== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Bart, > > m68k-linux-ld: drivers/scsi/ufs/ufshpb.o: in function `ufshpb_init_l= u_parameter.isra.0': > >>> ufshpb.c:(.text.unlikely+0xce): undefined reference to `__udivdi3' > >>> m68k-linux-ld: ufshpb.c:(.text.unlikely+0x10c): undefined reference t= o `__udivdi3' > = > Hi Daejun, > = > Please use do_div() instead of using 64-bit divisions. 64-bit divisions > can be identified e.g. by changing CONFIG_64BIT from 'y' into 'n' in the > kernel config and by searching for __udivdi3 calls in the assembler code. > One way to generate assembler code is as follows: OK, I will change it to use do_dev(). > make drivers/scsi/ufs/ufshcd.lst > = > Thanks, > = > Bart. Thanks Daejun. --===============0778100369557192700==--