diff options
Diffstat (limited to 'cpukit/libmisc/cpuuse/cpuuse.h')
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuuse.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuuse.h b/cpukit/libmisc/cpuuse/cpuuse.h index 662d905eb0..1e26019cd6 100644 --- a/cpukit/libmisc/cpuuse/cpuuse.h +++ b/cpukit/libmisc/cpuuse/cpuuse.h @@ -25,9 +25,7 @@ #include <rtems.h> #include <rtems/bspIo.h> -#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__ - #include <rtems/score/timestamp.h> -#endif +#include <rtems/score/timestamp.h> /** * @defgroup libmisc_cpuuse CPU Usage @@ -39,11 +37,7 @@ extern "C" { #endif -#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__ - extern Timestamp_Control CPU_usage_Uptime_at_last_reset; -#else - extern uint32_t CPU_usage_Ticks_at_last_reset; -#endif +extern Timestamp_Control CPU_usage_Uptime_at_last_reset; /* * rtems_cpu_usage_report_with_handler |