scsi: ufs: Introduce HPB feature
Hi Bart,
Quoted 10 lines
Quoted 3 lines
m68k-linux-ld:
drivers/scsi/ufs/ufshpb.o: in function `ufshpb_init_lu_parameter.isra.0':Quoted 2 lines
Quoted 2 lines
ufshpb.c:(.text.unlikely+0xce): undefined reference to `__udivdi3'
m68k-linux-ld: ufshpb.c:(.text.unlikely+0x10c): undefined reference to `__udivdi3'Hi Daejun,
Please use
do_div()instead of using 64-bit divisions. 64-bit divisions can be identified e.g. by changingCONFIG_64BITfrom 'y' into 'n' in the kernel config and by searching for__udivdi3calls in the assembler code. One way to generate assembler code is as follows:
OK, I will change it to use do_dev().
Quoted 5 lines
make
drivers/scsi/ufs/ufshcd.lstThanks,
Bart.
Thanks
Daejun.