aboutsummaryrefslogtreecommitdiff
path: root/lib/trace.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-04-08 13:20:49 -0600
committerSimon Glass <sjg@chromium.org>2019-04-23 20:26:43 -0600
commitf611a46ef1dc70bbbf013d0c33978d1204aeabc5 (patch)
tree96c5ea9cd354e68a390c1c31e8bab5d0dbe8c182 /lib/trace.c
parentca49b2c6e2cc66d7b84e7559cadfc8bf792a2170 (diff)
downloadu-boot-f611a46ef1dc70bbbf013d0c33978d1204aeabc5.zip
u-boot-f611a46ef1dc70bbbf013d0c33978d1204aeabc5.tar.gz
u-boot-f611a46ef1dc70bbbf013d0c33978d1204aeabc5.tar.bz2
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>
Diffstat (limited to 'lib/trace.c')
0 files changed, 0 insertions, 0 deletions