[PATCH 5.4 338/411] tracing: Fix sleeping function called from invalid context on RT kernel