commit | 903276d8a79baa4acf203e547d565723da95980d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Apr 08 13:20:49 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Apr 23 20:26:43 2019 -0600 |
tree | 96c5ea9cd354e68a390c1c31e8bab5d0dbe8c182 | |
parent | c11719ce604e6b05cfcc8c31a426a165ed0230ee [diff] |
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: Simon Glass <sjg@chromium.org>