Skip to content
Commit f611a46e authored by Simon Glass's avatar Simon Glass
Browse files

div64: Don't instrument the division function



This function may be called from tracing code, since that code needs to
read the timer and this often requires calling do_div(), which calls
__div64_32(). If this function is instrumented it causes an infinite loop,
since emitting a trace record requests the time, which in turn emits a
trace record, etc.

Update the prototype to prevent instrumentation code being added.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent ca49b2c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment