mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
soc: qcom: secure_buffer: change the way of divide
When compile kernel, we will get the following error: undefined reference to `__aeabi_uldivmod' So we change the way of divide. Change-Id: I632ea6778bc4e6e881a327c81e2e8650725388b0 Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
This commit is contained in:
parent
cdf0b87281
commit
4a661f18c6
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ static int batched_hyp_assign(struct sg_table *table, struct scm_desc *desc)
|
|||
batch_start += batches_processed;
|
||||
}
|
||||
total_delta = ktime_us_delta(ktime_get(), first_assign_ts);
|
||||
trace_hyp_assign_end(total_delta, total_delta / i);
|
||||
trace_hyp_assign_end(total_delta, div64_u64(total_delta, i));
|
||||
kfree(sg_table_copy);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue