board: use do_div for divid operation
authorAo Xu <ao.xu@amlogic.com>
Thu, 2 Aug 2018 06:48:41 +0000 (14:48 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 9 Aug 2018 10:45:48 +0000 (03:45 -0700)
commit825c0657416a6e3adfaefa9f1ee6fd7c9f9472cb
tree248f80725b11ec4b6b1ba45a3db53185473441d0
parent7f5e2a4bd44e2fe7bd3797f46a89ff43c9f7a945
board: use do_div for divid operation

PD#169652: board: use do_div for divid operation

when dividend is 64bit number, divid operation should
use do_div, otherwise link stage will fail for 32bit
system.

Change-Id: Iff2fdc328e364cec6486ab64e2e0f630ccb8534d
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/enhancement/amvecm/amcsc.c
drivers/amlogic/media/enhancement/amvecm/amvecm.c
drivers/amlogic/media/video_processor/video_dev/amlvideo.c
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/vin/tvin/vdin/vdin_ctl.c
drivers/amlogic/media/vin/tvin/vdin/vdin_drv.c
drivers/amlogic/mtd/boot.c
drivers/amlogic/mtd/rsv_manage.c
drivers/amlogic/vrtc/aml_vrtc.c