Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41c0591b authored by Tengfei Fan's avatar Tengfei Fan
Browse files

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: default avatarTengfei Fan <tengfeif@codeaurora.org>
parent 4c95eded
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,7 +265,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;
}