mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
video: rockchip: mpp: fix 64-bit division compile issue
err note: undefined reference to `__aeabi_uldivmod'' Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: I2572d1a89edfbf3a6fb347318b7e031ff2bc48d1
This commit is contained in:
@@ -561,10 +561,9 @@ static int rkvdec_link_isr_recv_task(struct mpp_dev *mpp,
|
||||
link_dec->stuff_cnt++;
|
||||
if (link_dec->stuff_cnt >=
|
||||
link_dec->statistic_count) {
|
||||
dev_info(
|
||||
link_dec->dev, "hw cycle %u\n",
|
||||
(u32)(link_dec->stuff_cycle_sum /
|
||||
link_dec->statistic_count));
|
||||
dev_info(link_dec->dev, "hw cycle %u\n",
|
||||
(u32)(div_u64(link_dec->task_cycle_sum,
|
||||
link_dec->statistic_count)));
|
||||
link_dec->stuff_cycle_sum = 0;
|
||||
link_dec->stuff_cnt = 0;
|
||||
}
|
||||
@@ -618,8 +617,8 @@ static int rkvdec_link_isr_recv_task(struct mpp_dev *mpp,
|
||||
link_dec->task_cnt++;
|
||||
if (link_dec->task_cnt >= link_dec->statistic_count) {
|
||||
dev_info(link_dec->dev, "hw cycle %u\n",
|
||||
(u32)(link_dec->task_cycle_sum /
|
||||
link_dec->statistic_count));
|
||||
(u32)(div_u64(link_dec->task_cycle_sum,
|
||||
link_dec->statistic_count)));
|
||||
link_dec->task_cycle_sum = 0;
|
||||
link_dec->task_cnt = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user