diff options
Diffstat (limited to 'cpukit/libmisc/cpuuse/cpuusagereport.c')
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuusagereport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuusagereport.c b/cpukit/libmisc/cpuuse/cpuusagereport.c index 86b637707a..296fa28da5 100644 --- a/cpukit/libmisc/cpuuse/cpuusagereport.c +++ b/cpukit/libmisc/cpuuse/cpuusagereport.c @@ -43,7 +43,7 @@ } #else /* FIXME: Locking */ - if ( the_thread->is_executing ) { + if ( _Thread_Is_executing_on_a_processor( the_thread ) ) { *time_of_context_switch = _Thread_Get_CPU( the_thread )->time_of_last_context_switch; return true; |